This library is a port of the tinkerer.eu MiRF library for PIC microcontrollers.
I have tested this port on the PIC18F45K22 device but it should work on any PIC device.
The implementation found in spi.c is using the internal MSSP peripheral. You might need to change the register names and bit values to fit your particular application. Additionally you will need to configure the used pins for CE and CSN in wl_module.h and wl_module.c
This repository contains two complete example projects for MPLABX:
- NRF_Master - a 4-bit binary up counter whose value is sent to the slave via the nRF module
- NRF_Slave - receives the counter value from the master and displays it on four LEDs connected to GPIO pins
This work is licensed under a Creative Commons Attribution 3.0 Unported License.