Kierra

Untitled

Jun 3rd, 2013
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. input = rs.getBundledInput("back")
  2. monitor = peripheral.wrap("top")
  3.  
  4. while true do
  5. if input < 11264 then
  6. printinput = input / 1024
  7. monitor.print("Il y a "..printinput.." signaux entrants")
  8. term.clear()
  9. rs.setOutput("bottom", true)
  10. else
  11. rs.setOutput("bottom", false)
  12. end
  13. sleep(1)
  14. end
Advertisement
Add Comment
Please, Sign In to add comment