Skip to content

Conversation

@basilfx
Copy link

@basilfx basilfx commented Apr 2, 2012

Hi maniacbug,

I'm using your RF24, RF24Network and FreeRTOS libraries together with interrupts for the RF24. To keep interrupt routines short, I modified whatHappened() to return the pipe number for which data is available. This way, a modified RF24Network::update() does not have to poll all pipes for data in a separate task, but the RF24Network::update() routine can be executed directly. Of course, the return value of whatHappened() is only valid (and of use) when tx_ready is true.

Please review my change. Hopefully it could be of use!

Kind regards,
BasilFX

…ready. Useful when using interrupts to keep interrupt function short. See data sheet page 59 of the nRF24L01+ for an explanation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant