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 RF24 by
Revision 11:5476ceebbb1f, committed 2018-07-10
- Comitter:
- pietor
- Date:
- Tue Jul 10 11:52:17 2018 +0000
- Parent:
- 10:f79c43f3b5b9
- Commit message:
- xtoff in de mix
Changed in this revision
RF24.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r f79c43f3b5b9 -r 5476ceebbb1f RF24.cpp --- a/RF24.cpp Fri Mar 09 09:57:45 2018 +0000 +++ b/RF24.cpp Tue Jul 10 11:52:17 2018 +0000 @@ -251,7 +251,7 @@ payload_size(32), dynamic_payloads_enabled(false), addr_width(5), spi(mosi, miso, sck) { pipe0_reading_address[0]=0; - spi.frequency(10000000/5); // 2Mbit, 1/5th the maximum transfer rate for the spi bus + spi.frequency(1000000); // 2Mbit, 1/5th the maximum transfer rate for the spi bus spi.format(8,0); // 8-bit, ClockPhase = 0, ClockPolarity = 0 DigitalOut ce_pin(_cepin); /**< "Chip Enable" pin, activates the RX or TX role */