Can anyone help me how i can implement this on the atmega8.
I will have 2 leds and 2 buttons (i.e. B1 and B2).
On power-up 2 leds blink alternately.
B1 will pause the blinking on first press. Second press resume.
B2 --> first press turn off leds. second turn on both leds (ie no blinking). Third kills the whole system (ie will not respond to anything other power up.
Thanks in advance!!