mbed-classic on Bluepill

Dependencies:   mbed-STM32F103C8T6 mbed

Fork of Testato-mbed-dev-Bluepill by Testato Testato

Revision:
8:f1432e9af6c8
Parent:
7:accb2c83a007
Child:
9:d3fb631890d7
--- a/main.cpp	Tue Jul 05 18:57:42 2016 +0000
+++ b/main.cpp	Tue Aug 02 19:42:17 2016 +0000
@@ -1,11 +1,11 @@
 #include "stm32f103c8t6.h"
 #include "mbed.h"
-
+ 
 Serial      pc(PA_2, PA_3);
 DigitalOut  myled(LED1);
-
+ 
 int main() {
-    confSysClock();     // Configuring system clock
+    confSysClock();     //Configure system clock (72MHz HSE clock, 48MHz USB clock)
     while(1) {
         // The on-board LED is connected, via a resistor, to +3.3V (not to GND). 
         // So to turn the LED on or off we have to set it to 0 or 1 respectively
@@ -16,3 +16,4 @@
         pc.printf("Blink\r\n");
     }
 }
+ 
\ No newline at end of file