Optimized High Speed NRF24L01+ Driver Class Documenation V1.0
TMRh20 2014 - Optimized Fork of NRF24L01+ Driver
The RF24 radio driver mainly utilizes the Arduino API for GPIO, SPI, and timing functions, which are easily replicated on various platforms.
Support files for these platforms are stored under RF24/utility, and can be modified to provide the required functionality.
The RF24 library now includes a basic hardware template to assist in porting to various platforms.
The following files can be included to replicate standard Arduino functions as needed, allowing devices from ATTiny to Raspberry Pi to utilize the same core RF24 driver.
|RF24_arch_config.h||Basic Arduino/AVR compatibility, includes for remaining support files, etc|
|includes.h||Linux only. Defines specific platform, include correct RF24_arch_config file|
|spi.h||Provides standardized SPI ( transfer() ) methods|
|gpio.h||Provides standardized GPIO ( digitalWrite() ) methods|
|compatibility.h||Provides standardized timing (millis(), delay()) methods|
|your_custom_file.h||Provides access to custom drivers for spi,gpio, etc|
Examples are provided via the included hardware support templates in RF24/utility
See the modules page for examples of class declarations
To have your ported code included in this library, or for assistance in porting, create a pull request or open an issue at https://github.com/TMRh20/RF24