DIGITALES AVANZADOS / Mbed 2 deprecated equipo

Dependencies:   mbed

Committer:
dfmolanon
Date:
Wed Apr 29 00:52:38 2020 +0000
Revision:
0:926129e024d7
Child:
1:3d648aadb949
esdgf

Who changed what in which revision?

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