Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] mega 168

2005-08-22 by John Samperi

At 01:08 PM 22/08/2005, you wrote:
>Hello!! The address of the next instruction to execute is the next
>instruction.

LOOP0:
         rjmp LOOP0      ;wait for PBINT1 interrupt (pattern select pushbutton)

The above will NEVER go here but it will be stuck forever into the 
loop because the next
instruction is rjmp LOOP0 no matter what happens in your interrupt routine.

         cbi PORTD,5


Regards

John Samperi

******************************************************
                         Ampertronics Pty. Ltd.
   11 Brokenwood Place Baulkham Hills, NSW 2153 AUSTRALIA
          Tel. (02) 9674-6495       Fax (02) 9674-8745
                Email: samperi@ampertronics.com.au
                  Website  http://www.ampertronics.com.au
* Electronic Design   * Custom Products   * Contract Assembly
******************************************************

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.