Manejo de puerto SPI y librería Fat File System

Dependencies:   mbed SDFileSystem

Files at this revision

API Documentation at this revision

Comitter:
lscordovar
Date:
Fri Feb 07 20:25:50 2020 +0000
Parent:
1:e4d7342be507
Commit message:
Interfaz a Micro SD

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Tue May 16 05:18:55 2017 +0000
+++ b/main.cpp	Fri Feb 07 20:25:50 2020 +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(PA_7, PA_6, PA_5, PB_6, "sd"); // the pinout on the mbed Cool Components workshop board
  
 int main() {
     printf("Hello World!\n");