Alexander Kratzer / Mbed 2 deprecated STM32F103C8T6_USBSerial

Dependencies:   mbed mbed-STM32F103C8T6 USBDevice_STM32F103

Files at this revision

API Documentation at this revision

Comitter:
hudakz
Date:
Sat Jul 09 09:18:46 2016 +0000
Parent:
1:0e1269402efd
Child:
3:dd01afd4f893
Commit message:
updated

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Fri Jul 08 21:29:34 2016 +0000
+++ b/main.cpp	Sat Jul 09 09:18:46 2016 +0000
@@ -13,8 +13,8 @@
 
     while(1) {
         myled = !myled;
-        pc.printf("I am a serial port\r\n");
-        usbSerial.printf("I am a USB serial port\r\n");
+        pc.printf("I am a serial port\r\n");            // 9600 bit/s
+        usbSerial.printf("I am a USB serial port\r\n"); // 12 Mbit/s (USB full speed)
         wait_ms(1000);
     }
 }