Fatima Vunic
/
LAB_Led2
g
main.cpp
- Committer:
- fatima365
- Date:
- 2019-11-28
- Revision:
- 0:30dbbeb201f5
File content as of revision 0:30dbbeb201f5:
#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; } }