Author Topic: Interrupts in ATMEGA8  (Read 3518 times)

0 Members and 1 Guest are viewing this topic.

Offline HePETopic starter

  • Jr. Member
  • **
  • Posts: 14
  • Helpful? 0
Interrupts in ATMEGA8
« 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!!

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,704
  • Helpful? 173
    • Society of Robots
Re: Interrupts in ATMEGA8
« Reply #1 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.

 

SMF spam blocked by CleanTalk