Fatima Vunic
/
LAB_Led2
g
Diff: main.cpp
- Revision:
- 1:210e74bbbe34
- Parent:
- 0:30dbbeb201f5
diff -r 30dbbeb201f5 -r 210e74bbbe34 main.cpp --- a/main.cpp Thu Nov 28 19:40:00 2019 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,14 +0,0 @@ -#include "mbed.h" - -DigitalOut L1(D2); -DigitalOut L2(D3); -DigitalOut L3(D6); - -int main() { - L1=L2=L3=0; - while(1) { - L1=1; wait_ms(200); L1=0; - L2=1; wait_ms(200); L1=0; - L3=1; wait_ms(200); L1=0; - } -}