Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- m = peripheral.wrap("left")
- c = peripheral.wrap("right")
- m.clear()
- m.setCursorPos(4,1)
- m.write("Current Energy Stored")
- while true do
- en = c.getEnergyStored("south")
- m.setCursorPos(12,3)
- m.write(en.." ")
- sleep(0.1)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement