Posted 19 April 2014 - 09:36 AM
When I place an advanced computer, and a wireless modem on top, the examples in the wiki that wrap the modem return nil:
The modem variable prints as nil, and this code throws an error.
However,
works fine - the modem shows the red signal.
What am I doing wrong?
local modem = peripheral.wrap("top")
modem.open(426)
The modem variable prints as nil, and this code throws an error.
However,
peripheral.call("top", "open",5)
works fine - the modem shows the red signal.
What am I doing wrong?