Maxim Integrated / Mbed OS FTHR_USBMSD_Demo

Dependencies:   USBDevice USBMSD_SD max32630fthr

Fork of FTHR_USBMSD_Demo by Greg Steiert

This example implements a micro SD card reader allowing access to a card inserted into the micro SD connector through the micro USB connector using the standard USB-MSD interface so that it appears just like a USB drive to your system.

Revision:
4:b5764a3c5530
Parent:
3:7264c8044625
Child:
6:1f64f4cf7cc7
--- a/main.cpp	Sun Nov 20 23:58:11 2016 +0000
+++ b/main.cpp	Tue Dec 13 21:33:30 2016 +0000
@@ -2,7 +2,7 @@
 #include "max32630fthr.h"
 #include "USBMSD_SD.h"
 
-MAX32630FTHR pegasus(MAX32630FTHR::VIO_3V3);
+MAX32630FTHR pegasus;
 
 DigitalOut rLED(LED1);
 DigitalOut gLED(LED2);
@@ -13,7 +13,7 @@
 {
     gLED = LED_OFF;
     rLED = LED_ON;
-    pegasus.init();
+    pegasus.init(MAX32630FTHR::VIO_3V3);
 
     gLED = LED_ON;
     Thread::wait(100);