/* nrf24l01 lib 0x02 copyright (c) Davide Gironi, 2012 References: - This library is based upon nRF24L01 avr lib by Stefan Engelke http://www.tinkerer.eu/AVRLib/nRF24L01 - and arduino library 2011 by J. Coliz http://maniacbug.github.com/RF24 Released under GPLv3. Please refer to LICENSE file for licensing information. */ #ifndef _NRF24L01_H_ #define _NRF24L01_H_ #include //CE and CSN port definitions #define NRF24L01_DDR DDRB #define NRF24L01_PORT PORTB #define NRF24L01_CE PB0 #define NRF24L01_CSN PB1 //define the spi path #define NRF24L01_SPIPATH "../spi/spi.h" //spi lib path //CE and CSN functions #define nrf24l01_CSNhi NRF24L01_PORT |= (1<