nueva libreria

Dependencies:   mbed

Committer:
vikglz
Date:
Tue Feb 16 14:06:17 2016 +0000
Revision:
0:cd153904115f
Child:
1:96fb707a3e3c
libreria

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 0:cd153904115f 5 int main() {
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 }