Librería Diego; Programacion para Sistemas Embebidos
Diff: Diego.h
- Revision:
- 0:f369b857dbf9
- Child:
- 1:03c2a6a697d9
diff -r 000000000000 -r f369b857dbf9 Diego.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Diego.h Wed Feb 17 02:03:20 2016 +0000 @@ -0,0 +1,29 @@ +#ifndef Diego_h +#define Diego_h + +#include "mbed.h" + +DigitalOut led1(LED1); +DigitalOut led2(LED2); +DigitalOut led3(LED3); + +void Diego_Mensaje() +{ + pc.printf("Diego Rivera \n"); +} + +void Diego_led() +{ + led1=0; + led2=0; + led3=0; + wait(0.2); + + led1=1; + led2=1; + led3=1; + wait(0.2) +} + +#endif + \ No newline at end of file