Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: main.cpp
- Revision:
- 2:e593110be031
- Parent:
- 1:04792423a4a0
--- a/main.cpp Tue Aug 11 23:56:47 2020 -0300
+++ b/main.cpp Wed Aug 12 00:06:36 2020 -0300
@@ -41,7 +41,7 @@
C = 0;
//transicion
estado = ENCENDIDO;
-
+ printf("S1::APAGADO -> S2::ENCENDIDO\r\n");
}
break;
@@ -54,7 +54,7 @@
C = 0;
//transicion
estado = APAGADO;
-
+ printf("S2::ENCENDIDO -> S1::APAGADO\r\n");
}
break;
}
@@ -62,7 +62,7 @@
int main() {
//Inicializaciones
- nombre_del_ticker.attach(&funcion, 100ms);
+ nombre_del_ticker.attach(&funcion, 1s);
//lazo o loop infinito
while(1){