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 SDFileSystem by
Diff: SDFileSystem.cpp
- Revision:
- 3:098816055491
- Parent:
- 2:c8f66dc765d4
diff -r c8f66dc765d4 -r 098816055491 SDFileSystem.cpp
--- a/SDFileSystem.cpp Thu Nov 29 10:56:21 2012 +0000
+++ b/SDFileSystem.cpp Thu Jun 05 12:03:04 2014 +0000
@@ -143,8 +143,8 @@
#define SDCARD_V2HC 3
int SDFileSystem::initialise_card() {
- // Set to 100kHz for initialisation, and clock card with cs = 1
- _spi.frequency(100000);
+ // Set to 16MHz for initialisation, and clock card with cs = 1
+ _spi.frequency(16000000);
_cs = 1;
for (int i = 0; i < 16; i++) {
_spi.write(0xFF);
