gbradley
Lifetime Supporting Member
I am trying to do something that is so simple, but I can't figure out how to do it without using the Add and compare instructions.
Basically, I want to turn on a bit with one push of a button and leave that bit on.
Now with another push of the same button, turn on the next bit
With another push of the button the third bit lights.
Finally the last push of the button turns off all bits and starts the process over.
Here is how I am doing it, and it works, but it doesn't seem very elegant.
I tried using one shots and latching the bits, but It kept racing through.
Any ideas?
Thanks
George
Basically, I want to turn on a bit with one push of a button and leave that bit on.
Now with another push of the same button, turn on the next bit
With another push of the button the third bit lights.
Finally the last push of the button turns off all bits and starts the process over.
Here is how I am doing it, and it works, but it doesn't seem very elegant.
I tried using one shots and latching the bits, but It kept racing through.
Any ideas?
Thanks
George