Advertisement
magnasiefr

Reactor Send

Oct 25th, 2016
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. local modem = peripheral.wrap("right")
  2.  
  3. while true do
  4. if rs.getInput("left") then
  5. modem.transmit(6, 1, 1)
  6. else
  7. modem.transmit(6, 1, 0)
  8. end
  9. sleep(0.2)
  10.  
  11. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement