Closed arthurxie closed 8 years ago
The RX_EMPTY is a shift count not a mask
return self.read_register(NRF24.FIFO_STATUS) & NRF24.RX_EMPTY
should be
return self.read_register(NRF24.FIFO_STATUS) & (1 << NRF24.RX_EMPTY)
Thanks. Corrected.
The RX_EMPTY is a shift count not a mask
should be