So I built a drone, and finally managed to get a custom bios running for test purposes. The problem is that I can't seem to get it to sleep (so that a move command can finish). Each time I try, I get the following error:
bios:6: attempt to call field 'sleep' (a nil value)
The code I'm using is:
--local os = require("os")
local drone = component.proxy(component.list("drone")())
while true do
drone.move(1,1,1)
--print("zomgwtf")
os.sleep(1)
drone.move(-1,-1,-1)
end
(The print and require statements were leftovers of various debugging attempts.)
There's got to be a way to slee