Hello word

Dependencies:   mbed

Committer:
SantiagoE
Date:
Fri May 01 19:30:16 2020 +0000
Revision:
0:f663a175ba80
XD

Who changed what in which revision?

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