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.
Fork of nRF24L01P_Maniacbug by
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
}
