NyxMulder Posted February 11, 2014 Share Posted February 11, 2014 (edited) Hi, I have been trying to set up an air lock using rednet and pistons instead of Galacticraft air lock because I simply don't like the idea of a door just appearing in an empty space. The idea is that it would consist of 2 doors and 3 buttons as shown below: (Button) - <Door1> - (Button) - <Door2> - (Button). When a button is pressed one door with close instantly and another will open after a short delay, about 2 seconds should be enough to seal the room. I have played around for quiet a bit with PRC and managed to figure out a way that should theoretically work, but doesn't. Here is what I did: Variable 0 - Output: T-FlipFlop Door1 Variable 1 - Output: T-FlipFlop Door2(Inverted) Button (AND) Door2 - Output: Variable 0 Button (AND) Door2 - Output: Variable 2 Variable 2 - Output: Delay (40), Variable 1 Button (AND) Door1 - Output: Variable 1 Button (AND) Door1 - Output: Variable 3 Variable 3 - Output: Delay (40), Variable 0 I think it gets stuck in some sort of loop, can't figure out why. Really need help with this one. Thanks in advance. Edited February 11, 2014 by NyxMulder Link to comment Share on other sites More sharing options...
NyxMulder Posted February 11, 2014 Author Share Posted February 11, 2014 (edited) Solved! I used Schmitt Triggers and just negated their outputs, if only I knew about them earlier. Edited February 11, 2014 by NyxMulder 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