Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- m=peripheral.wrap("right")
- m.setFreq(12)
- while true do
- if m.get() then
- rs.setOutput("bottom", false)
- end
- if not m.get() then
- rs.setOutput("bottom", true)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement