nueva libreria

Dependencies:   mbed

Committer:
vikglz
Date:
Tue Feb 16 14:10:14 2016 +0000
Revision:
1:96fb707a3e3c
Parent:
0:cd153904115f
cambio de funcion;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
vikglz 0:cd153904115f 1 #include "mbed.h"
vikglz 0:cd153904115f 2
vikglz 0:cd153904115f 3 DigitalOut myled(LED1);
vikglz 0:cd153904115f 4
vikglz 1:96fb707a3e3c 5 void mensaje() {
vikglz 0:cd153904115f 6 while(1) {
vikglz 0:cd153904115f 7 myled = 1;
vikglz 0:cd153904115f 8 wait(0.2);
vikglz 0:cd153904115f 9 myled = 0;
vikglz 0:cd153904115f 10 wait(0.2);
vikglz 0:cd153904115f 11 }
vikglz 0:cd153904115f 12 }