Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local SteamLine = peripheral.wrap("SteamLine_0")
- redstone.setOutput("bottom", false )
- while true do
- VarSteam = SteamLine.getSteam()
- term.clear()
- term.setCursorPos(1,1)
- print("Vapeur: "..VarSteam.."mB")
- if VarSteam < 100000 then
- redstone.setOutput("bottom",true)
- end
- if VarSteam > 300000 then
- redstone.setOutput("bottom",false)
- end
- sleep(2)
- end
Add Comment
Please, Sign In to add comment