This code is written to run on the ARMmbed LPC1768 board. It is developed to configure the board which is connected to a TMP102 to constantly measure temperature, update the display evey minute and also plot these readings on a Nokia N5110 LCD

Dependencies:   N5110 mbed

Files at this revision

API Documentation at this revision

Comitter:
el16ooo
Date:
Wed Feb 01 22:22:10 2017 +0000
Parent:
0:bfd4c95124c3
Commit message:
This code is written to run on the ARMmbed LPC1768 board. It is developed to configure the board which is connected to a TMP102 to constantly measure temperature, update the display evey minute and also plot these readings on a Nokia N5110 LCD.

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Wed Feb 01 21:46:00 2017 +0000
+++ b/main.cpp	Wed Feb 01 22:22:10 2017 +0000
@@ -81,7 +81,7 @@
 void setTime();          //Function to set the UNIX time
 void writeDataToFile(int data); //Function for writing to file
 void updateLCDTime();     //Function to update LCD Time
-trigerViewChange();       //Function used to trigger view change
+void trigerViewChange();       //Function used to trigger view change
 void plot();
 void standbyFunction();
 //------------------------------------------------------------------------------
@@ -326,8 +326,7 @@
      LCDStanbyFlag = 1;
    }
    else if (LCDStanbyFlag==1){
-         lcd.turnOn(); 
-           lcd.init();                             //Initialize LCD
+           lcd.init();                             //Initialize and Turn ON LCD
     if((setPlotFlag==0)){
     lcd.printString(" TEMP. LOGGER!",0,0);        //Print Welcome Message
     }else{