Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- PROVIDES FAILSAFE AND COOLDOWN TIME FOR PNEUMATICCRAFT ADVANCED LIQUID COMPRESSOR --
- m = peripheral.wrap("bottom")
- -- EXECUTION
- while true do
- sleep(0)
- if m.getPressure() >= 19 then
- rs.setOutput("left", false)
- end
- if m.getPressure() <= 10 then
- rs.setOutput("left", true)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement