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.
Dependents: Motion_Logging_Project
Fork of SDFileSystem by
Revision 4:d21b3ceaf95c, committed 2015-07-27
- Comitter:
- Kas_Lewis
- Date:
- Mon Jul 27 17:16:35 2015 +0000
- Parent:
- 3:7b35d1709458
- Commit message:
- This is a working implementation of a 6-axis data logger using the FRDM-KL25Z and the FRDM-STBC-AGM01 (FXOS8700C & FXAS21002C). Data is logged to an SD card for plotting at a later date.
Changed in this revision
| SDFileSystem.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/SDFileSystem.cpp Mon Mar 17 14:34:01 2014 +0000
+++ b/SDFileSystem.cpp Mon Jul 27 17:16:35 2015 +0000
@@ -141,7 +141,7 @@
int SDFileSystem::initialise_card() {
// Set to 100kHz for initialisation, and clock card with cs = 1
- _spi.frequency(100000);
+ _spi.frequency(40000000);
_cs = 1;
for (int i = 0; i < 16; i++) {
_spi.write(0xFF);
