Leonard Haghofer
/
M0_Lektion02c
02c
Fork of M0_Lektion02c by
Diff: main.cpp
- Revision:
- 3:80b8ddc2f3ad
- Parent:
- 2:4d97fbc35b11
--- a/main.cpp Wed Jan 06 13:32:24 2016 +0000 +++ b/main.cpp Fri Jan 29 13:07:49 2016 +0000 @@ -22,12 +22,22 @@ led=0x0; //LED 0000 Hex 0 wait(0.2); led=0x1; //LED 0001 Hex 1 - wait (0.2); - led=0x2; //LED 0011 ->Hex 2 - // Ergänze selber in HEX! - - wait (0.2); - led=0xF; //LED 1111 + wait(0.2); + led=0x3; //LED 0011 ->Hex 2 + wait(0.2); + led=0x7; // Ergänze selber in HEX! + wait(0.2); + led=0xF; + wait(0.2); + led=0x7; + wait(0.2); + led=0x3; + wait(0.2); + led=0x1; + wait(0.2); + led=0x0; + wait(1.0); + //LED 1111 //LED 0000 //LED 1000 // nun läuft der Balken wieder zurück!