Posted 17 July 2014 - 02:10 AM
So I need to make this program for something but I need it to give a redstone pulse for a shor time then it sleeps. The problem with that is that it will keep the pulse there but it will never release the pulse or go back to false.
Code:
while true do
redstone.setOutput("bottom", true)
sleep(2)
redstone.setOutput("bottom", false)
sleep(2)
end
Code:
while true do
redstone.setOutput("bottom", true)
sleep(2)
redstone.setOutput("bottom", false)
sleep(2)
end