geh sterben, beschreibung!
Dependencies: mbed
Revision 1:6381133904a1, committed 2016-01-14
- Comitter:
- ladner
- Date:
- Thu Jan 14 15:32:42 2016 +0000
- Parent:
- 0:d30dfdbac0fe
- Commit message:
- Commit message (required)
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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