Quote Originally Posted by dene12 View Post
I have a led chaser based on 16F628A, all A's and B's as outputs [12 leds].
The sequence starts and... stops if i release the push button which power it, but the PIC can't keep power for itself after releasing the switch.
I want it to execute the sequence after a short push of a button.

What is to be done in the asm file ??

Thanks in advance.

a working solution :

Keep the chip under power but in sleep mode ... you cut the power ... circuit resets and execute the chasing sequence.

Then falls asleep.

trick used for mini Led Torch lamps.



Alain