Caratula de analisis numericos

Dependencies:   mbed STM32F103C8T6_Hello

Revision:
12:c24d2c99e2b6
Parent:
10:4b88be251088
Child:
13:485613003845
--- a/main.cpp	Mon Jun 26 13:53:25 2017 +0000
+++ b/main.cpp	Tue Feb 05 08:00:50 2019 +0000
@@ -1,15 +1,13 @@
-#include "stm32f103c8t6.h"
 #include "mbed.h"
+
+Serial      pc(PA_2, PA_3); // TX, RX
+DigitalOut  myled(PC_13);   // on-board LED
   
-int main() {
-    confSysClock();     //Configure system clock (72MHz HSE clock, 48MHz USB clock)
-    
-    Serial      pc(PA_2, PA_3);
-    DigitalOut  myled(LED1);
-    
+int main() 
+{  
     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
+        // The on-board LED is connected via a resistor to +3.3V (not to GND). 
+        // So the LED is active on 0
         myled = 0;      // turn the LED on
         wait_ms(200);   // 200 millisecond
         myled = 1;      // turn the LED off
@@ -17,4 +15,3 @@
         pc.printf("Blink\r\n");
     }
 }
- 
\ No newline at end of file