Posted 16 June 2013 - 09:00 PM
I am just trying to figure out how REther turtles work and I made this very basic program but it is returning "attempt to call nil"
What is wrong with it?
here it is:
Edit: Fixed, the peripheral was on the other side… oops :/
What is wrong with it?
here it is:
k = peripheral.wrap("right")
k.setFreq(1)
if k.get() == true then
print("yes")
else
print("no")
end
Edit: Fixed, the peripheral was on the other side… oops :/