Saereth

TimerFinal

Jan 29th, 2015
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. while true do
  2.    if redstone.getAnalogInput("back") > 13 then
  3.            redstone.setOutput("left", true)
  4.              write ("Charged, turning off")
  5.    end
  6.    if redstone.getAnalogInput("back") < 14 then
  7.       redstone.setOutput("left", false)
  8.   write("Not fullly charged, turning on")
  9.       end
  10.  
  11.    sleep(10)
  12. end
Advertisement
Add Comment
Please, Sign In to add comment