LowPowerLab Forum

Hardware support => General topics => Topic started by: dwenrhod on April 09, 2015, 04:52:53 PM

Title: RFM12B clear interrupt
Post by: dwenrhod on April 09, 2015, 04:52:53 PM

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 April 10, 2015, 08:55:58 AM
Why bother?
What library are you using?
There is a RFM12B library here (https://github.com/lowpowerlab/rfm12b), it does everything for you.