Advertisement
melzneni

RFDisplay1

Jun 9th, 2019
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1.  
  2. storage=peripheral.wrap("left")
  3. monitor=peripheral.wrap("right")
  4. monitor.setTextScale(0.5)
  5. while true do
  6. local storage=storage.getEnergyStored()
  7. monitor.clear()
  8. monitor.setCursorPos(1,1)
  9. monitor.write("storage: "..storage)
  10. sleep(1)
  11.  
  12. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement