smd.iotkit.ch / Mbed 2 deprecated 0-06-01-Uebung

Dependencies:   mbed

Fork of 06-01-Uebung by th.iotkit.ch

Revision:
4:be63bf4e87aa
Parent:
3:6dfb04216698
Child:
5:859a37864a31
--- a/main.cpp	Sat Feb 21 10:51:40 2015 +0000
+++ b/main.cpp	Sat Apr 18 13:58:18 2015 +0000
@@ -10,8 +10,10 @@
 {
     while ( true ) 
     {
+        printf( "Aktueller Wert %f\n", light.read() );
+        
         // fuer Dunklen Kursraum
-        if  ( light < 0.01f )
+        if  ( light < 0.1f )
             led = 1;
         else
             led = 0;