Maniacbug's nRF24L01+ arduino library ported to mbed. Functional with minor issues.
Revision 5:7463cf21b7fb, committed 2013-06-03
- Comitter:
- Christilut
- Date:
- Mon Jun 03 11:07:00 2013 +0000
- Parent:
- 4:491267614a10
- Commit message:
- -
Changed in this revision
| nRF24L01P_Maniacbug.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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
}