Prueba con Mbed

Dependencies:   mbed

Committer:
crisgonesc
Date:
Mon Jun 11 10:28:06 2018 +0000
Revision:
0:375e86be520e
Prueba_con_Mbed

Who changed what in which revision?

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