My fork during debugging.
Fork of NRF2401P by
Diff: NRF2401P.cpp
- Revision:
- 18:1e0a2fcc4e89
- Parent:
- 17:ea1484f5757f
- Child:
- 19:f7e74aa7d663
--- a/NRF2401P.cpp Wed Mar 02 21:51:47 2016 +0000 +++ b/NRF2401P.cpp Wed Mar 02 22:45:59 2016 +0000 @@ -37,7 +37,7 @@ log(logMsg); } spi = new SPI( mosi, miso, sclk, NC ); //SPI (PinName mosi, PinName miso, PinName sclk, PinName _unused=NC) - spi->frequency( 10000000 ); // 1MHZ max 10 MHz + spi->frequency( 10000000 ); // 1 MHz spi->format( 8, 0 ); // 0: 0e 08; 1: 0e 00; 2:0e 00 ;3:1c 00 csn = 1; ce = 0;