Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cell1 = peripheral.wrap("back")
- function MainFunc()
- local cell1Energy = cell1.getEnergyStored("unknown")
- print(cell1Energy)
- end
- while true do
- MainFunc()
- os.sleep(2)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement