craftyoyo

conpteur_dyn

Aug 11th, 2014
288
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.11 KB | None | 0 0
  1. p = peripheral.wrap("back")
  2.  
  3. while true do
  4. energy = p.getCountAndReset()
  5. print(energy)
  6. sleep(0.2)
  7. end
Add Comment
Please, Sign In to add comment