A plain C port and de-arduinization of gnulnulf's and stanleyseow's C++ library for running nRF24L01 2.4GHz card on a Raspberry Pi.
Supports poll()
ing on an IRQ pin and calling user defined callback on
events sent by the card. It does not use threads, as only a single pin needs to
be polled.
See examples/pong_irq.c
for an example receiver. The
examples/pong_curl.c
can be used to send data to a picasso
dashboard.
The original code for Arduino comes from Maniacbug. gnulnulf and stanleyseow ported the library. Huge thanks to all of them.
The code retains the same license as the original: GNU GPL v2.
- Add ping example.
- Find out possible causes for packet loss. The Pi receives and sends the pong, but the node does not receive it.
- Add debugging #ifdefs
- Add profiling + check for timing discrepancies vs. the datasheet
- Clean up the interface
- Add docs
- nRF24L01+ datasheet Super useful, especially the registers part.