Hello,
I need help by changing the Interrupt Pin at ATmega2560 with RFM12 radio module and Jeelib Library.
As standart is IRQ2 defined but I need to change it to IRQ3 or others.
I try it according to this explaination but without success, I assume this is only valid for Atmel328..?
http://jeelabs.org/2012/01/06/pin-change-interrupts-for-rf12/
#if defined(__AVR_ATmega2560__) || defined(__AVR_ATmega1280__)
#define RFM_IRQ 3
#define SS_DDR DDRB
#define SS_PORT PORTB
#define SS_BIT 0
#define SPI_SS 53 // PB0, pin 19
#define SPI_MOSI 51 // PB2, pin 21
#define SPI_MISO 50 // PB3, pin 22
#define SPI_SCK 52 // PB1, pin 20
Thankfull for any help
Snoops