Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- m = peripheral.wrap("monitor_0")
- cell = peripheral.wrap("cofh_thermalexpansion_energycell_2")
- cell2 = peripheral.wrap("cofh_thermalexpansion_energycell_3")
- while true do
- m.clear()
- m.setCursorPos(1,1)
- term.clear()
- term.setCursorPos(1,1)
- energy = cell.getEnergyStored("unknown")+cell2.getEnergyStored("unknown")
- print(energy)
- m.write(energy)
- sleep(1)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement