Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local modem = peripheral.wrap("bsck")
- while true do
- if rs.getInput("left") then
- modem.transmit(222, 0, "place")
- sleep(60)
- modem.transmit(222, 0 "dig")
- rs.setOutput("right", true)
- sleep(0.5)
- rs.setOutput("right", false)
- end
- sleep(60)
- end
Advertisement
Add Comment
Please, Sign In to add comment