codigo sin probar
Dependencies: mbed CMSIS_DSP_5 TextLCD
Diff: main.cpp
- Revision:
- 0:fcb220c9cf97
- Child:
- 1:80ebc024450a
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Thu Oct 18 10:40:35 2018 +0000 @@ -0,0 +1,14 @@ +#include "mbed.h" + +DigitalIn boton(PC_13); + +int main() { + int contador=0; + while(1) { + contador++; + if (boton==0) {; + prinf("El contador vale %d\n",contador); + } + wait(0.10); +} +} \ No newline at end of file