How to infinitely loop redstone detection with computercraft (lua)
Solution 1:
Call os.sleep(x)
at the end of your loop. The loop will then be executed every x
seconds.
Call os.sleep(x)
at the end of your loop. The loop will then be executed every x
seconds.