Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("right")
- p1 = peripheral.wrap("monitor_2")
- p2 = peripheral.wrap("monitor_3")
- w1, h1 = p1.getSize()
- w2, h2 = p2.getSize()
- p1.clear()
- p2.clear()
- function check1()
- id, rec1Heat, rec1Eu = rednet.receive()
- end
- function display1()
- p1.setCursorPos(1,3)
- p1.write("Current Heat: ")
- while true do
- p1.write(rec1Heat)
- p1.clear()
- --p1.sleep(1)
- end
- p1.setCursorPos(1,5)
- p1.write("Eu/T: ")
- while true do
- p1.write(rec1Eu)
- end
- end
- while true do
- check1()
- display1()
- end
Advertisement
Add Comment
Please, Sign In to add comment