LowPowerLab Forum

Hardware support => RF - Range - Antennas - RFM69 library => Topic started by: Witace12 on November 06, 2014, 01:38:03 AM

Title: RFM12B clear interrupt
Post by: Witace12 on November 06, 2014, 01:38:03 AM
Having trouble converting from polled to interrupt driven receiver code.

When the transmit message is complete, I cannot clear the IRQ pin by reading all the bytes in the FIFO.

Seems like the RX might be triggering on noise.
Title: Re: RFM12B clear interrupt
Post by: Felix on November 06, 2014, 07:43:42 AM
The library is already interrupt driven when a packet is received. You just poll the library to check if it already has read a packet from the transceiver.