Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("bottom")
- instructions = {}
- instructions[1] = "on"
- local speed = 0.001
- while true do
- for i=1,15 do
- for j=1,15 do
- if j%2 ~= 0 then
- instructions[2] = tostring(j)
- rednet.broadcast(instructions,tostring(i))
- sleep(speed/10)
- end
- end
- end
- shell.run("reset")
- sleep(speed)
- for i=1,15 do
- for j=1,15 do
- if j%2 == 0 then
- instructions[2] = tostring(j)
- rednet.broadcast(instructions,tostring(i))
- sleep(speed/10)
- end
- end
- end
- shell.run("reset")
- sleep(speed)
- end
Advertisement
Add Comment
Please, Sign In to add comment