School project.

Dependencies:   Timezone NTPClient BSP_DISCO_F746NG Grove_temperature

Embed: (wiki syntax)

« Back to documentation index

main_functions.h File Reference

main_functions.h File Reference

Functions to be envoked in main function. Uses global variables. More...

Go to the source code of this file.

Functions

void main_update_readings ()
 This function will update the sensor readings.
void main_check_light_control ()
 This function will check which sensor controls the light, allowing the rotary or the light sensor to determine blink rate, and updates the lcd display accordingly 1/19/2021.
void main_update_temperature (bool switch_temp)
 Reads the temperature and updates the display if temperature has changed.
void main_run_button_check ()
 Runs a while loop that checks for button presses 1/19/2021.
void main_run_setup ()
 Runs the setup menu 1/19/2021.
void main_run_main_screen ()
 Starts the main screen on LCD display 1/19/2021.

Detailed Description

Functions to be envoked in main function. Uses global variables.

Author:
Tu Tri Huynh
Date:
January 18, 2021

Definition in file main_functions.h.


Function Documentation

void main_check_light_control (  )

This function will check which sensor controls the light, allowing the rotary or the light sensor to determine blink rate, and updates the lcd display accordingly 1/19/2021.

Definition at line 25 of file main_functions.h.

void main_run_button_check (  )

Runs a while loop that checks for button presses 1/19/2021.

Definition at line 63 of file main_functions.h.

void main_run_main_screen (  )

Starts the main screen on LCD display 1/19/2021.

Definition at line 89 of file main_functions.h.

void main_run_setup (  )

Runs the setup menu 1/19/2021.

Definition at line 78 of file main_functions.h.

void main_update_readings (  )

This function will update the sensor readings.

1/18/2021

Definition at line 12 of file main_functions.h.

void main_update_temperature ( bool  switch_temp )

Reads the temperature and updates the display if temperature has changed.

1/19/2021

Update if change in temperature

Check if change temperature unit wanted

Definition at line 43 of file main_functions.h.