DIGITALES AVANZADOS / Mbed 2 deprecated equipo

Dependencies:   mbed

Committer:
dfmolanon
Date:
Wed Apr 29 12:40:54 2020 +0000
Revision:
4:d0dc5b10726c
Parent:
3:b79118f8dc22
Child:
5:bc1cd988b755
revise

Who changed what in which revision?

UserRevisionLine numberNew contents of line
dfmolanon 0:926129e024d7 1 #include "mbed.h"
dfmolanon 0:926129e024d7 2
dfmolanon 4:d0dc5b10726c 3 DigitalOut led(LED2);
dfmolanon 0:926129e024d7 4
dfmolanon 0:926129e024d7 5 int main() {
danielr2020 3:b79118f8dc22 6 //HOLA DANIELITO
danielr2020 3:b79118f8dc22 7 //COMO VA
danielr2020 3:b79118f8dc22 8 //ME PRESTA LUCA
dfmolanon 0:926129e024d7 9 while(1) {
dfmolanon 0:926129e024d7 10 myled = 1;
dfmolanon 2:d1fda51a728b 11 wait(0.5);
dfmolanon 0:926129e024d7 12 myled = 0;
dfmolanon 4:d0dc5b10726c 13 //ya
dfmolanon 4:d0dc5b10726c 14 wait(0.5);
dfmolanon 0:926129e024d7 15 }
dfmolanon 0:926129e024d7 16 }