Nurbol Nurdaulet / Mbed 2 deprecated Test_3

Files at this revision

API Documentation at this revision

Comitter:
Nurbol
Date:
Tue Oct 18 15:08:34 2011 +0000
Parent:
4:a04fdb2379d6
Commit message:

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Tue Oct 18 14:58:13 2011 +0000
+++ b/main.cpp	Tue Oct 18 15:08:34 2011 +0000
@@ -8,7 +8,7 @@
     while(1) {
          sensor.read();
         
-        if(sensor > 1.5) {
+        if(sensor > 0.5) {
                 led = 1;
  
         }