Centro de Controle de Motores

Dependencies:   TextLCD mbed

Revision:
2:46bbc8fadd10
Parent:
1:d94be0bcadcc
Child:
3:2b261e3c05db
diff -r d94be0bcadcc -r 46bbc8fadd10 main.cpp
--- a/main.cpp	Wed Mar 09 14:05:43 2022 +0000
+++ b/main.cpp	Wed Mar 09 14:16:44 2022 +0000
@@ -2,11 +2,11 @@
 
 DigitalOut led(D13);
 
-int main() {
+void main(void) {
     while(1) {
         led = 1; //LED on
-        wait(1);
+        wait(0.5);
         led = 0; //LED off
-        wait(1);
+        wait(0.5);
     }
 }
\ No newline at end of file