OK Connect a US Bstorage stick Configure for HOST Disconnect any other devices !!!!

Dependencies:   USBHost mbed

Fork of USBHostMSD_HelloWorld by Samuel Mokrani

Files at this revision

API Documentation at this revision

Comitter:
avnisha
Date:
Tue Aug 13 06:11:51 2013 +0000
Parent:
8:758190c6c455
Commit message:
ok

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 758190c6c455 -r 3ca15106a7d1 main.cpp
--- a/main.cpp	Thu Mar 14 14:23:42 2013 +0000
+++ b/main.cpp	Tue Aug 13 06:11:51 2013 +0000
@@ -13,6 +13,7 @@
         // try to connect a MSD device
         while(!msd.connect()) {
             Thread::wait(500);
+            printf("waiting\n");
         }
         
         // in a loop, append a file