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.
Dependencies: mbed mpu9250_i2c IM920 BMP180 GPS millis
Revision 1:690378b5f48a, committed 2016-11-22
- Comitter:
- ryood
- Date:
- Tue Nov 22 07:41:45 2016 +0000
- Parent:
- 0:effffaacd967
- Child:
- 2:3f286265fade
- Commit message:
- Change Pins to SPI3
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Tue Nov 22 07:23:12 2016 +0000
+++ b/main.cpp Tue Nov 22 07:41:45 2016 +0000
@@ -12,7 +12,8 @@
#include "mbed.h"
#include "SDFileSystem.h"
-SDFileSystem sd(D11, D12, D13, D10, "sd", NC, SDFileSystem::SWITCH_NONE, 25000000);
+//SDFileSystem sd(D11, D12, D13, D10, "sd", NC, SDFileSystem::SWITCH_NONE, 25000000); // mosi, miso, sclk, cs
+SDFileSystem sd(PC_12, PC_11, PC_10, PA_14, "sd", NC, SDFileSystem::SWITCH_NONE, 25000000); // SPI3
struct {
uint8_t x;