Advertisement
Plazter

h4md3nl4ng3

Jun 15th, 2013
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. m=peripheral.wrap("right")
  2. m.setFreq(12)
  3.  
  4.  
  5. while true do
  6. if m.get() then
  7. rs.setOutput("bottom", false)
  8. end
  9.  
  10. if not m.get() then
  11. rs.setOutput("bottom", true)
  12. end
  13. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement