Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- level=rs.getAnalogueInput("left")
- print (level)
- redstone.setOutput("right", false)
- if rs.getAnalogueInput("left") == 500000
- then redstone.setOutput("right", true)
- end
- if rs.getAnalogueInput("left") == 0
- then redstone.setOutput("right", false)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement