![](/media/cache/profiles/3b56beb4fb3143ab7f05335134909435.50x50_q85.jpg)
AnalogIn to p15 ~ LCD STEM UBC 2014
Revision 2:dbdb78914b02, committed 2016-06-28
- 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