libreria para boton
Fork of libreriaparaboton by
gomez.h
- Committer:
- gilbertogn
- Date:
- 2016-02-17
- Revision:
- 0:aa1593c7fe2b
- Child:
- 1:0e87be347df3
File content as of revision 0:aa1593c7fe2b:
#ifndef GILBERTO #define GILBERTO #include "mbed.h" DigitalIn Botondeentrada(D2); DigitalOut Led(LED2); void gilberto_mensaje(){ } int main() { while(1){ if(Botondeentrada==1){ Led=0; }else{ Led=1; } } } #endif