Ketmol Posted August 7, 2019 Share Posted August 7, 2019 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. Link to comment Share on other sites More sharing options...
nakomaru Posted August 7, 2019 Share Posted August 7, 2019 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? How about this positive edge detected D latch: Link to comment Share on other sites More sharing options...
avc15 Posted August 7, 2019 Share Posted August 7, 2019 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. Link to comment Share on other sites More sharing options...
abud Posted August 7, 2019 Share Posted August 7, 2019 Edit: Just realized you didn't just want something flicker, ignore my answer Spoiler Top buffer = on time, bottom buffer = off time from this old thread Link to comment Share on other sites More sharing options...
Ketmol Posted August 7, 2019 Author Share Posted August 7, 2019 @nakomaru I think that's what I needed. . thanks. I will try ingame and see if I can use that to solve my problem... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.