Changed run frequency to 20 MHz

Dependencies:   FATFileSystem

Dependents:   ADC_SDcard_serial

Fork of SDFileSystem by mbed official

Files at this revision

API Documentation at this revision

Comitter:
patmcna
Date:
Wed Jun 15 01:37:45 2016 +0000
Parent:
3:7b35d1709458
Commit message:
Changed frequency of SPI to 20 MHz

Changed in this revision

SDFileSystem.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 7b35d1709458 -r 7ea356b27c70 SDFileSystem.cpp
--- a/SDFileSystem.cpp	Mon Mar 17 14:34:01 2014 +0000
+++ b/SDFileSystem.cpp	Wed Jun 15 01:37:45 2016 +0000
@@ -207,7 +207,7 @@
         return 1;
     }
     
-    _spi.frequency(1000000); // Set to 1MHz for data transfer
+    _spi.frequency(20000000); // Set to 20MHz for data transfer  // this is where frequency was changed
     return 0;
 }