Hi all!
I havnt posted in a while, so here goes!
Using a 12F675 and need a way to toggle an input.
If a button is pushed, it goes to a label that is a simple flash on and off routine which counts up to a number using a for-next loop. When it reaches the number, it stops by going out of that label.
What I need is a way to push the same button again and cause it to stop flashing immediately and reset, regardless of the for next count. (I am also using the MCLR as a momentary pulldown reset to turn everything off by resetting the program to the start of the code)
This push button is only a momentary close, but need it to work like a mechanical "push on-push off" switch. There are a couple of these push buttons which each work with their own outputs
Anyone have ideas - and if so, maybe some sample code?
Thanks much for any help!
Ron
Bookmarks