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: SDFileSystem mbed
Fork of SDFileSystem_HelloWorld_2 by
Diff: main.cpp
- Revision:
- 2:edaca40406e8
- Parent:
- 0:bdbd3d6fc5d5
diff -r 791d8ca87c76 -r edaca40406e8 main.cpp
--- a/main.cpp Wed Feb 10 23:07:29 2016 +0000
+++ b/main.cpp Thu Apr 21 16:22:27 2016 +0000
@@ -1,7 +1,7 @@
#include "mbed.h"
#include "SDFileSystem.h"
-SDFileSystem sd(p5, p6, p7, p8, "sd"); // the pinout on the mbed Cool Components workshop board
+SDFileSystem sd(PE10, PE11, PE12, PE13, "sd"); // the pinout on the mbed Cool Components workshop board
int main() {
printf("Hello World!\n");
@@ -12,7 +12,7 @@
if(fp == NULL) {
error("Could not open file for write\n");
}
- fprintf(fp, "Hello fun SD Card World!");
+ fprintf(fp, "Hello from Mike SD Card World!");
fclose(fp);
printf("Goodbye World!\n");
