School project.

Dependencies:   Timezone NTPClient BSP_DISCO_F746NG Grove_temperature

Revision:
16:296d68305630
Parent:
15:638e65c37d58
Child:
17:01ebfd8ab87a
--- a/lcd_functions.h	Tue Jan 19 10:05:13 2021 +0000
+++ b/lcd_functions.h	Wed Jan 20 08:11:46 2021 +0000
@@ -11,7 +11,7 @@
 #include "stm32746g_discovery_lcd.h"
 
 /**
-This function will initialize the LCD for use
+This function will initialize the LCD display for use
 1/13/2021
 */
 void lcd_initialize()
@@ -24,7 +24,7 @@
 
 
 /**
-This function will run a screen that tells user to configure the unit
+This function will run a screen in LCD display that tells user to configure the unit
 1/13/2021
 */
 void lcd_show_setup_screen()
@@ -40,7 +40,7 @@
 }
 
 /**
-This function will runs the startup screen with project- and developer-name
+This function will run the startup screen with project- and developername
 1/13/2021
 */
 void lcd_show_startup_screen()
@@ -91,7 +91,8 @@
     BSP_LCD_DisplayStringAt(5, 16, (uint8_t *)"Light settings", RIGHT_MODE);
 }
 
-/** Update the content of the upper right part of display.
+/** 
+Update the content of the upper right part of display.
 @param light_reading The intensity level of registered light in percentage
 @param rotary_reading The current position of rotary sensor in percentage
 1/18/2021
@@ -126,15 +127,15 @@
 
 /**
 Updates the content of the lower left area of the display
-@building[] Name of the building
-@room[] Name of the room
+@param building[] Name of the building
+@param room[] Name of the room
 1/18/2021
 */
 void lcd_update_lower_left(char building[], char room[])
 {   
     BSP_LCD_SetBackColor(LCD_COLOR_DARKMAGENTA);
     BSP_LCD_SetTextColor(LCD_COLOR_WHITE);
-    BSP_LCD_SetFont(&Font12);
+    BSP_LCD_SetFont(&Font16);
     BSP_LCD_DisplayStringAt(35, 200, (uint8_t *)building, LEFT_MODE);
     BSP_LCD_DisplayStringAt(35, 220, (uint8_t *)room, LEFT_MODE);
 }
@@ -177,7 +178,10 @@
     BSP_LCD_DrawCircle(421, 214, 3);
 }
 
-// Shows the main screen
+/**
+This function will show the default main screen on display
+1/19/2021
+*/
 void lcd_show_main_screen()
 {
     BSP_LCD_Clear(LCD_COLOR_DARKBLUE); // Clear with color
@@ -189,7 +193,7 @@
 
 /**
 This function will print LCD size in console terminal
-@date 1/13/2021
+1/13/2021
 */
 void lcd_get_screen_size()
 {