M. H. Al-Meer / Mbed 2 deprecated mbed_USB

Dependencies:   mbed

Revision:
0:2c2981e27ad1
Child:
1:077d8e1f21a8
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Sun Mar 27 17:46:06 2016 +0000
@@ -0,0 +1,12 @@
+/* Program Example 10.4: writing data to an SD card
+*/
+#include "mbed.h"
+
+Serial pc(USBTX, USBRX);
+int main()
+{
+ //   pc.printf("Could not open file for write\n"); // error if no pointer
+   // pc.printf("SD card file successfully opened\n"); // if pointer ok
+   pc.printf("Hello World!");
+  
+}
\ No newline at end of file