Hello,
I'm currently working on a project for my university course where I'm required to design a circuit that will count cars in and out of a car park. We have to use components in the LS41 series.
All I'd like to know is, is there a way to make a (JK flip-flop) counter count up or down, or would I need, say, two separate counters (One for cars going in, one for cars going out)? I was thinking of having two counters (that reset *at some point*) that plug into an adder to determine what number of cars are in the car park (This data will then goes into an encoder for a LED display). Is there a flaw in my logic?
The ultimate goal of the project is to display a "FULL" sign when there are no spaces left, but I have an idea how to do that.
Also, I'd like to know the purpose of the 'J' and 'K' in a JK flip-flop? In all the examples I've seen, they're both set to HIGH and left at that.
Many Thanks