ldr blinky

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
08DyeG
Date:
Thu Jun 19 13:31:49 2014 +0000
Parent:
0:1d3ca434d486
Commit message:
2

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 1d3ca434d486 -r 799a74dde023 main.cpp
--- a/main.cpp	Thu Jun 19 13:29:00 2014 +0000
+++ b/main.cpp	Thu Jun 19 13:31:49 2014 +0000
@@ -6,7 +6,7 @@
 
 int main(){
     while(1){
-        if(ldr>0.50){
+        if(ldr>0.51){
             g=1;
             r=0;
             }