Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- storage=peripheral.wrap("left")
- monitor=peripheral.wrap("right")
- monitor.setTextScale(0.5)
- while true do
- local storage=storage.getEnergyStored()
- monitor.clear()
- monitor.setCursorPos(1,1)
- monitor.write("storage: "..storage)
- sleep(1)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement