Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal

J_E_Mc

Members
  • Content Count

    2
  • Joined

  • Last visited

Everything posted by J_E_Mc

  1. The reason that your code isn't working is that require is a function avaliable in open-os on an eeprom you have to interface directly with the components. try: function getComponent(name) component.proxy(component.list(name, true)()) end local m = getComponent("modem") component.list lists all components with the given name's addresses and type (calling the return value returns the first index's address) component.proxy gives you a "proxy" of the component using an address with out a proxy you would have to use component.invoke to call a method on a component
  2. I need to read files without the filesystem library but it is only returning 2048 characters of the file i am trying to read.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.