Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mfe = peripheral.wrap("right")
- ass = peripheral.wrap("back")
- while true do
- euPercent = mfe.getEUStored() / mfe.getEUCapacity()
- if euPercent==1 then
- rs.setOutput("back", false)
- elseif euPercent<=.9 then
- rs.setOuput("back", true)
- end
- print(euPercent)
- sleep(1)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement