kehribar / nrf24L01_plus

Portable nrf24L01+ library with auto acknowledgement and auto retransmission support.
292 stars 97 forks source link

Renamed function spi_transfer to spi_transfer_SW, and added... #8

Open kuzfix opened 4 years ago

kuzfix commented 4 years ago

function spi_transfer to radioPinFunctions.c, where it can either call the spi_transfer_SW function (fallback to bit-banging) or implement it's own version of SPI transfer, preferably using the built-in SPI module.

Also added a bunch of macros to the radioPinFunctions.c in all the examples to ease migration to different hardware within the ATmega/ATtiny family of uCs.