please I'm using easybee3 example , and want to modify the receiver example to receive when interrupt pin (RB0/INT0) activated ,
but it seems to receive nothing \
I use pic18f452.
please help me , this my code .
easybee 3 example with interrupt
Re: easybee 3 example with interrupt
Hi,
Which development system are you using ?
Regards,
Filip.
Which development system are you using ?
Regards,
Filip.
Re: easybee 3 example with interrupt
no I use it alone , with PIC 18f452 , and it worked well with the example without modification.
Re: easybee 3 example with interrupt
Hi,
Try declaring the EasyBEE3 connection like this :
And disable comparators also :
Regards,
Filip.
Try declaring the EasyBEE3 connection like this :
Code: Select all
// EasyBee3 connections
sbit CS at LATA0_bit; //CS pin
sbit RST at LATA1_bit; //RST pin
sbit INT at LATA2_bit; //INT pin
sbit WAKE at LATA3_bit; //WAKE pin
sbit CS_Direction at TRISA0_bit; //CS pin direction
sbit RST_Direction at TRISA1_bit; //RST pin direction
sbit INT_Direction at TRISA2_bit; //INT pin direction
sbit WAKE_Direction at TRISA3_bit; //WAKE pin direction
Code: Select all
CMCON |= 7; // Turn off comparators
Filip.