cg

Dependencies:   TextLCD mbed

Revision:
1:877582fb6b65
Parent:
0:a060af406e72
--- a/main.cpp	Thu May 17 06:51:12 2018 +0000
+++ b/main.cpp	Thu May 24 04:11:22 2018 +0000
@@ -6,14 +6,24 @@
 AnalogIn Ain(PC_3);
 float ADCdata;
 
-
 int main() {
-    while(1) {
+    
+lcd.locate (1,0);   
+lcd.printf("Temp Measure");
+lcd.locate (0,1);   
+lcd.printf("Cel");
+lcd.locate (8,1);   
+lcd.printf("Fah");
+        
+    /*while(1) {
         ADCdata=Ain;
-        ADCdata=ADCdata*100;
+        ADCdata=ADCdata;
         lcd.locate (4,1);
         lcd.printf("%f",ADCdata);
         pc.printf("%f\n\r",ADCdata);
-        wait(0.5);
+        lcd.locate (11,1);
+        lcd.printf("%f",ADCdata);
+        pc.printf("%f\n\r",ADCdata);
+        wait(0.5);*/
     }
-}
+