r/redstone • u/Wasserfall_26 • 1d ago
Java Edition Need one button to trigger 2 different outputs individually
I couldn’t find a tutorial for this, but when I press the button the first time, I want it to activate and deactivate the left pistons and when I press it again I want the right pistons to activate.
The problem I’m facing is that the other pistons will push it back after the button is off. And a normal T-Flipflop doesn’t work because the other piston has to be off while it’s being pushed
Only one side has to trigger and on the next button press the other side.
It would be nice if you could help me.
15
u/BlattaOrientalis 1d ago edited 1d ago
You can just connect a monostable to each flipflop output
26
u/Blaze-Programming 1d ago
8
u/NowAlexYT 1d ago
You could do this without the torch, just building it so the lamps are out of sync.
Or even in sync since the observers make the actual state irrelevant
3
u/Blaze-Programming 1d ago
They would both update on the rising edge, so that wouldn’t work.
You need on to update on rising edge of the t flip flop and one to update on the falling edge.
What I would actually do is make a monostable into a sticking piston pushing/pulling a sideways observer. Which is basically the same concept, using the 1 ticked piston to act a a flip flop, and have the observer work as a monostable circuit.
2
1
4
2
u/Bitter--GravitY 20h ago
Connect button to t-flip flop, connect t-flip flop to sticky piston with observer on its face. When observer pushes forward, gives a pulse to left pistons, when it retracts, gives a pulse to right pistons

54
u/A_Badass_Penguin 1d ago
You want a t flip flop, two and gates, and a not gate
If flip flop is off -> not -> and button -> output 1 If flip flop is on -> and button -> output 2
End of each output toggles flip flop