AnalogIn to p15 ~ LCD STEM UBC 2014

Dependencies:   C12832_lcd mbed

Files at this revision

API Documentation at this revision

Comitter:
chapfohn
Date:
Tue Jun 28 02:45:22 2016 +0000
Parent:
1:37e83b329c50
Commit message:
DEMO

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 37e83b329c50 -r dbdb78914b02 main.cpp
--- a/main.cpp	Sat Jul 12 21:32:38 2014 +0000
+++ b/main.cpp	Tue Jun 28 02:45:22 2016 +0000
@@ -19,12 +19,6 @@
         lcd.cls();//clear LCD for next reading round
         lcd.locate(3,3);//first LCD column label
         lcd.printf("%1.3f\n\r",ADCdata);//print data;
-        if (ADCdata < (0.5)) {
-            lcd.locate(3,12);
-            lcd.printf("DARK");
-        } else {
-            lcd.locate(3,12);
-            lcd.printf("LIGHT");
-        }
+        
     }
 }
\ No newline at end of file