Juicebags Posted November 3, 2013 Posted November 3, 2013 I am trying to find a way to have a setup where a short redstone pulse, like one second, can keep a signal sent for about 9 minutes. I know you can do the lengthener with the Rednet controller, but 12 seconds is not near long enough. Is there a way to get this accomplished with Computercraft? To clarify, I want the signal from a pressure plate (short burst) to keep a sticky piston engaged for about 9 minutes before turning off. Any help would be hugely appreciated :) Quote
planetguy Posted November 3, 2013 Posted November 3, 2013 Try something like: while true do os.pullEvent("redstone") if(rs.getInput("front") then rs.setOutput("back",true) os.sleep(60*9) rs.setOutput("back",false) end end Assuming your input is through the front and output back. Change those as necessary. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.