Maniacbug's nRF24L01+ arduino library ported to mbed. Functional with minor issues.
Diff: nRF24L01P_Maniacbug.cpp
- Revision:
- 5:7463cf21b7fb
- Parent:
- 4:491267614a10
--- a/nRF24L01P_Maniacbug.cpp Thu May 23 13:44:14 2013 +0000 +++ b/nRF24L01P_Maniacbug.cpp Mon Jun 03 11:07:00 2013 +0000 @@ -244,7 +244,7 @@ payload_size(32), ack_payload_available(false), dynamic_payloads_enabled(false), pipe0_reading_address(0), spi(mosi, miso, sck) { - spi.frequency(10000000/5); // 2Mbit, 1/5th the maximum transfer rate for the spi bus + spi.frequency(10000000); // 2Mbit, 1/5th the maximum transfer rate for the spi bus spi.format(8,0); // 8-bit, ClockPhase = 0, ClockPolarity = 0 }