Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: Nucleo_IOT1 wireless
Revision 3:39e8335cce5d, committed 2016-09-02
- Comitter:
- ianmcc
- Date:
- Fri Sep 02 15:51:22 2016 +0000
- Parent:
- 2:75a1c2139f17
- Child:
- 4:8f612189af31
- Commit message:
- Fix to initialization of the RF_SETUP register to match reset state
Changed in this revision
| nRF24L01P.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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);