Society of Robots - Robot Forum

Software => Software => Topic started by: HePE on January 24, 2009, 03:37:05 PM

Title: Interrupts in ATMEGA8
Post by: HePE on January 24, 2009, 03:37:05 PM
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!!
Title: Re: Interrupts in ATMEGA8
Post by: Admin on February 13, 2009, 12:37:39 AM
Show us your schematic and we'll verify it for you.

See my $50 Robot tutorial for additional help.