DIGITALES AVANZADOS / Mbed 2 deprecated equipo

Dependencies:   mbed

Committer:
dfmolanon
Date:
Wed Apr 29 03:16:20 2020 +0000
Revision:
2:d1fda51a728b
Parent:
1:3d648aadb949
Child:
3:b79118f8dc22
wait de 0.2 a 0.5

Who changed what in which revision?

UserRevisionLine numberNew contents of line
dfmolanon 0:926129e024d7 1 #include "mbed.h"
dfmolanon 0:926129e024d7 2
cjmn 1:3d648aadb949 3 DigitalOut myled(LED3);
dfmolanon 0:926129e024d7 4
dfmolanon 0:926129e024d7 5 int main() {
dfmolanon 0:926129e024d7 6 while(1) {
dfmolanon 0:926129e024d7 7 myled = 1;
dfmolanon 2:d1fda51a728b 8 wait(0.5);
dfmolanon 0:926129e024d7 9 myled = 0;
dfmolanon 0:926129e024d7 10 wait(0.2);
dfmolanon 0:926129e024d7 11 }
dfmolanon 0:926129e024d7 12 }