help
/
Info_2_TD
cc
Diff: Partie_3/Exercice_1.cpp
- Revision:
- 0:4651c5d6ca1e
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Partie_3/Exercice_1.cpp Thu Jun 25 16:30:18 2020 +0000 @@ -0,0 +1,27 @@ +/* +#include "mbed.h" +BusOut myleds(LED4, LED3, LED2, LED1); +int main() { + char x; + while(1) { + x=1; + myleds.write(x); + wait(0.2); + x=2; + myleds.write(x); + wait(0.2); + x=4; + myleds.write(x); + wait(0.2); + x=8; + myleds.write(x); + wait(0.2); + x=4; + myleds.write(x); + wait(0.2); + x=2; + myleds.write(x); + wait(0.2); + } +} +*/ \ No newline at end of file