AVR ATMEGA88 PCINT PROBLEM
- From: "Rohan" <rohanshar@xxxxxxxxx>
- Date: 26 Feb 2007 04:45:42 -0800
Hi,
I am trying to use the PCINT0 interrupt on the Atmega88 chip but an
unable to get it working.
i want it to work for pin number 12, 13 and 14 ie PCINT0, PCINT1 and
PCINT2 respectively.
i am initializing it as
main(){
PCIFR = 0X01;
PCMSK0 = 0X07;
Sei();
}
AND
ISR(PCINT0_vect){
send_byte(1);
}
The ISR is not getting fired using only this code. Am i missing out on
some initialization. Kindly help me out.
Thanks,
Rohan.
.
- Follow-Ups:
- Re: AVR ATMEGA88 PCINT PROBLEM
- From: Arlet
- Re: AVR ATMEGA88 PCINT PROBLEM
- Prev by Date: Re: Need reality check
- Next by Date: Re: Embest offers SBCs with flexible design
- Previous by thread: Cypress GPIF: Bulk read error
- Next by thread: Re: AVR ATMEGA88 PCINT PROBLEM
- Index(es):