School project.

Dependencies:   Timezone NTPClient BSP_DISCO_F746NG Grove_temperature

Embed: (wiki syntax)

« Back to documentation index

button_functions.h File Reference

button_functions.h File Reference

Functions related to Grove Button. More...

Go to the source code of this file.

Functions

bool button_switch_temp_unit (DigitalIn &button, bool &is_fahrenheit)
 This function reverses the bool value inputted if button press is registered.

Detailed Description

Functions related to Grove Button.

Author:
Tu Tri Huynh
Date:
January 18, 2021

Definition in file button_functions.h.


Function Documentation

bool button_switch_temp_unit ( DigitalIn &  button,
bool &  is_fahrenheit 
)

This function reverses the bool value inputted if button press is registered.

Bool value to reverse. 1/18/2021

Definition at line 13 of file button_functions.h.