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
Diff: main.cpp
- Revision:
- 1:f37cf0e5d0e8
- Parent:
- 0:bfd4c95124c3
--- 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{