in de mix

Fork of RF24 by Akash Vibhute

Files at this revision

API Documentation at this revision

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 */