libreria para boton

gomez.h

Committer:
gilbertogn
Date:
2016-02-17
Revision:
0:aa1593c7fe2b

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