carrots084

Database CPU

Jan 26th, 2018
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. rednet.open("top")
  2. while true do
  3. id, message = rednet.receive()
  4. if message == "SET_TO_DAY"
  5. then
  6. print("Setting to day")
  7. rs.setOutput("left", true)
  8. sleep(1)
  9. rs.setOutput("left", false)
  10. end
  11. end
Advertisement
Add Comment
Please, Sign In to add comment