Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- p=peripheral.wrap("back")
- Energy=p.getEnergyStored()
- if Energy>99000 then
- redstone.setOutput("right", true)
- elseif Energy<5000 then
- redstone.setOutput("right", false)
- end
- sleep(0.1)
- end
Add Comment
Please, Sign In to add comment