![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
aaa
Dependencies: mbed-STM32F103C8T6 mbed
Fork of STM32F103C8T6_USBSerial by
Diff: main.cpp
- Revision:
- 1:0e1269402efd
- Parent:
- 0:0279e8c1f111
- Child:
- 2:2c819b99d216
--- a/main.cpp Fri Jul 08 21:19:45 2016 +0000 +++ b/main.cpp Fri Jul 08 21:29:34 2016 +0000 @@ -6,7 +6,7 @@ DigitalOut myled(LED1); int main() { - confSysClock(48); // Configuring system clock for USB + confSysClock(48); //Configure system clock (72MHz HSE clock, 48MHz APB1 peripheral clock) USBSerial usbSerial; pc.baud(9600); @@ -14,7 +14,7 @@ while(1) { myled = !myled; pc.printf("I am a serial port\r\n"); - usbSerial.printf("I am an USB serial port\r\n"); + usbSerial.printf("I am a USB serial port\r\n"); wait_ms(1000); } }