geh sterben, beschreibung!

Dependencies:   mbed

Files at this revision

API Documentation at this revision

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