Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dofile "op.lib"
- rednet.open("bottom")
- cell = peripheral.wrap("top")
- while true do
- percent = getStoredPercent(cell)
- rednet.broadcast(percent, "powerReport")
- rednet.broadcast(percent .. "%", "displayReport")
- print(percent)
- sleep(2)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement