Optimized high speed nRF24L01+ driver class documentation v1.4.10
TMRh20 2020 - Optimized fork of the nRF24L01+ driver
|
The RF24 driver can be build as a static library with Atmel Studio 7 in order to be included as any other library in another program for the XMEGA family.
Currently only the ATXMEGA D3 family is implemented.
Create an empty GCC Static Library project in Atmel Studio 7.
As not all files are required, copy the following directory structure in the project:
Add the library to your project!
In the file where the main()
is put the following in order to update the millisecond functionality:
Declare the rf24 radio with RF24 radio(XMEGA_PORTC_PIN3, XMEGA_SPI_PORT_C);
Call the __start_timer()
to start the millisecond timer.
__start_timer()
in compatibility.c file for your frequency.