Fork for test compile on Happy Gecko With updates 160210

Dependencies:   SDFileSystem mbed

Fork of SDFileSystem_HelloWorld_2 by Mike Gardner

Files at this revision

API Documentation at this revision

Comitter:
gardnmc
Date:
Thu Apr 21 16:22:27 2016 +0000
Parent:
1:791d8ca87c76
Commit message:
Test SD Card build for Happy Gecko;

Changed in this revision

SDFileSystem.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 791d8ca87c76 -r edaca40406e8 SDFileSystem.lib
--- a/SDFileSystem.lib	Wed Feb 10 23:07:29 2016 +0000
+++ b/SDFileSystem.lib	Thu Apr 21 16:22:27 2016 +0000
@@ -1,1 +1,1 @@
-https://developer.mbed.org/users/gardnmc/code/SDFileSystem/#0c210de6465e
+https://developer.mbed.org/users/gardnmc/code/SDFileSystem/#7b35d1709458
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");