geh sterben, beschreibung!
Dependencies: mbed
Diff: main.cpp
- Revision:
- 1:6381133904a1
- Parent:
- 0:d30dfdbac0fe
--- a/main.cpp Thu Jan 14 15:18:09 2016 +0000 +++ b/main.cpp Thu Jan 14 15:32:42 2016 +0000 @@ -8,3 +8,11 @@ BusOut rgb(P0_9,P1_15,P0_21); BusIn btn(P1_16,P0_23,P0_10,P0_15); +int main() +{ + rgb=7; + while(1) + { + myled = 1<<(int)(ldr*12); + } +} \ No newline at end of file