Juicebags Posted November 3, 2013 Share 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 :) Link to comment Share on other sites More sharing options...
planetguy Posted November 3, 2013 Share 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now