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

Dependencies:   mbed

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

Files at this revision

API Documentation at this revision

Comitter:
stefan1691
Date:
Sat Oct 24 09:21:46 2015 +0000
Parent:
4:be63bf4e87aa
Commit message:
Wert zu klein

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Sat Apr 18 13:58:18 2015 +0000
+++ b/main.cpp	Sat Oct 24 09:21:46 2015 +0000
@@ -13,7 +13,7 @@
         printf( "Aktueller Wert %f\n", light.read() );
         
         // fuer Dunklen Kursraum
-        if  ( light < 0.1f )
+        if  ( light < 0.8f )
             led = 1;
         else
             led = 0;