Proyecto 1

Dependencies:   mbed

Committer:
vikglz
Date:
Wed Feb 10 18:16:03 2016 +0000
Revision:
0:e365827d01ed
Primer proyecto de PSE

Who changed what in which revision?

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