Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- p = peripheral.wrap("back")
- while true do
- x = p.getPr
- print(x)
- if x > 4 then
- rs.setOutput("right",true)
- print("Pressure low, Starting engine")
- else
- rs.setOutput("right", false)
- end
- sleep(5)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement