Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- core = peripheral.wrap("top")
- mon1 = peripheral.wrap("monitor_7")
- mon2 = peripheral.wrap("monitor_9")
- while true do
- temp = core.getTemperature()
- mon1.write("Reactor's Temp:")
- mon1.write(temp)
- mon2.write(temp)
- if core.getTemperature() < 1500 then
- rs.setOutput("bottom",true)
- else
- rs.setOutput("bottom",false)
- end
- os.sleep(1)
- mon1.clear()
- mon2.clear()
- mon1.setCursorPos(1,1)
- mon2.setCursorPos(1,1)
- mon1.setTextScale(2)
- mon2.setTextScale(4)
- mon1.setTextColour(colours.white)
- mon2.setTextColour(colours.white)
- mon1.setBackgroundColour(colours.blue)
- mon2.setBackgroundColour(colours.blue)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement