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: gomez.h
- Revision:
- 0:aa1593c7fe2b
diff -r 000000000000 -r aa1593c7fe2b gomez.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gomez.h Wed Feb 17 14:10:09 2016 +0000 @@ -0,0 +1,20 @@ +#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