nRF24L01 driver

Dependents:   Nucleo_IOT1 wireless

Revision:
3:39e8335cce5d
Parent:
1:cd113026825f
Child:
4:8f612189af31
diff -r 75a1c2139f17 -r 39e8335cce5d nRF24L01P.cpp
--- a/nRF24L01P.cpp	Sat Aug 27 16:18:01 2016 +0000
+++ b/nRF24L01P.cpp	Fri Sep 02 15:51:22 2016 +0000
@@ -65,7 +65,7 @@
    this->write_register(NRF24L01P_SETUP_AW,      0x03);
    this->write_register(NRF24L01P_SETUP_RETR,    0x03);
    this->write_register(NRF24L01P_RF_CH,         0x02);
-   this->write_register(NRF24L01P_RF_SETUP,      0x07);
+   this->write_register(NRF24L01P_RF_SETUP,      0x0F);
    this->write_register(NRF24L01P_STATUS,        0x0E); 
    this->write_register_40(NRF24L01P_RX_ADDR_P0, 0xE7E7E7E7E7ULL);
    this->write_register_40(NRF24L01P_RX_ADDR_P1, 0xC2C2C2C2C2ULL);