Riad_ Bajraktarevic
/
Joystick_Led
Aufgabe 1. BusOut Programm
Diff: main.cpp
- Revision:
- 2:ae17974ea4a6
- Parent:
- 1:15d8fa68d1ab
- Child:
- 3:e090a9b08c31
--- a/main.cpp Sun Jan 12 12:29:32 2020 +0000 +++ b/main.cpp Sun Jan 12 12:29:59 2020 +0000 @@ -15,4 +15,14 @@ lb = lb | 1; wait_ms(100); } + + lb = 15; + wait_ms(100); + + for(int i = 0; i<=7; i++) + { + lb = lb >> 1; + lb = lb | 1; + wait_ms(100); + } } \ No newline at end of file