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
******************************************************Message
Re: [AVR-Chat] mega 168
2005-08-22 by John Samperi
Attachments
- No local attachments were found for this message.