Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mon = peripheral.wrap("front")
- term.getSize()
- for i=1,15 do
- mon.clearLine()
- mon.setCursorPos(1,6)
- mon.write(i)
- rs.setAnalogOutput("left", true)
- mon.setCursorPos(1,1)
- mon.write("Set 1 on")
- mon.setCursorPos(1,2)
- os.sleep(800)
- rs.setAnalogOutput("right", true)
- rs.setAnalogOutput("left", false)
- mon.clear()
- mon.clearLine()
- mon.write("2 is on")
- mon.setCursorPos(1,3)
- mon.write("Set 1 off")
- mon.setCursorPos(1,6)
- mon.clearLine()
- mon.write(i)
- os.sleep(60)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement