Optimized high speed nRF24L01+ driver class documentation v1.4.10
TMRh20 2020 - Optimized fork of the nRF24L01+ driver
|
Generic Linux devices are supported via SPIDEV, PiGPIO, MRAA, RPi native via BCM2835, or using LittleWire.
Using CMake: (See the instructions using CMake for more information and options)
Run it and choose your options
SPIDEV
is now always selected as the default driver because all other Linux drivers are being removed in the future. See RF24 issue #971 for rationale.It will also ask to install a python package named pyRF24. This is not the same as the traditionally provided python wrappers as the pyRF24 package can be used independent of the C++ installed libraries. For more information on this newer python package, please check out the pyRF24 documentation.
Try an example from one of the libraries
Edit the gettingstarted example, to set your pin configuration
Build the examples. Remember to set the RF24_DRIVER
option according to the one that was selected during the scripted install.
Run the example
See the instructions using CMake for more information and options
Designed & Tested on RPi - Defaults to SPIDEV on devices supporting it
Run it and choose your options
SPIDEV
is now always selected as the default driver because all other Linux drivers are being removed in the future. See RF24 issue #971 for rationale.Configure build environment using the command:
It automatically detects device and build environment.
SPIDEV
is now always selected as the default driver because all other Linux drivers are being removed in the future. See RF24 issue #971 for rationale.For overriding automatic detections, use command-line arguments, see
for description.