Automation help neded

Recommended Posts

I have a logic problem and i can't seem to figure out how to solve it using full automation

This is what i would like to solve.

First time an input Y flickers green (green for short duration) output A turns green and stays green

Second time input input Y flickers green output B turns green and stays green

then output A again,.. etc that is altering between two different outputs with a signal from the same logic input

I figured out one way pumping gas back and fourth between two contained areas and measure gas pressure that seem to work. but its not very elegant...

I would like a solution using pure logic circuits..

Happy for any help.

Share on other sites

Does A or B ever turn red again? Under what condition?

Because you say alternating, I guess this means A turns red when B turns green, and vice versa, right?

Share on other sites

what you're describing is an edge triggered flip flop.

I messed around with this a few minutes this morning trying to build the simplest one I could out of an SR latch, but I'm a little dumb when it comes to automation. That and the ONI SR latch doesn't work exactly like a real-world SR latch.

Wikipedia - yours is the classic positive edge triggered D, but the circuit they show is in NAND logic which adds more components and also makes it harder to understand. I'm certain there's a more compact/intuitive way to do it in game.

edit: nakomaru's got it.

Share on other sites

Edit: Just realized you didn't just want something flicker, ignore my answer

Spoiler

Top buffer = on time, bottom buffer = off time

Share on other sites

@nakomaru I think that's what I needed. . thanks. I will try ingame and see if I can use that to solve my problem...