
Ejercicio 3 práctica 2
Dependencies: mbed
main.cpp
- Committer:
- Javier001
- Date:
- 2018-10-18
- Revision:
- 0:7005b985c781
File content as of revision 0:7005b985c781:
#include "mbed.h" DigitalIn boton(PC_13); int main() { int contador =0; while(1) { contador++; if(boton==0) { printf("El contador vale %d\n",contador); } wait(0.10); } }