Test suite for the NRF24 class.
#include <NRF24.h>
#include <SPI.h>
void setup()
{
Serial.begin(9600);
Serial.println("NRF24 init failed");
Serial.println("setChannel failed");
Serial.println("setThisAddress failed");
Serial.println("setPayloadSize failed");
Serial.println("setRF failed");
}
void loop()
{
Serial.println("start");
nrf24.
spiWriteRegister(NRF24_REG_06_RF_SETUP, NRF24_CONT_WAVE | NRF24_PLL_LOCK | NRF24_PWR_0dBm);
Serial.println("powerUpTx failed");
delay(5000);
Serial.println("powerDown failed");
delay(5000);
}