Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local component = require("component")
- local lvCapacitor = component.ie_lv_capacitor
- local term = require("term")
- local c = require("computer")
- local modem = component.modem
- term.clear()
- while true do
- c.beep(600,0.1)
- print("Energy Stored: "..lvCapacitor.getEnergyStored())
- modem.broadcast(6767, "eProtocole", "wind", lvCapacitor.getEnergyStored())
- os.sleep(2)
- end
Advertisement
Add Comment
Please, Sign In to add comment