Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mon = peripheral.wrap("top")
- mon.clear()
- pw = preipheral.wrap("back")
- x = 3
- while x==3
- do
- mon.setCursorPos(1,1)
- mon.write("System is up and running!")
- sleep(1000)
- mon.setTextScale(1)
- mon.setCursorPos(1,2)
- mon.write("Fuel: ")
- mon.setCursorPos(1,3)
- mon.write(pw.getFuelAmount)
- mon.setCursorPos(1,4)
- mon.write("Energy Stored: ")
- mon.setCursorPos(1,5)
- mon.write(pw.getEnergyStored)
- sleep(500)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement