School project.
Dependencies: Timezone NTPClient BSP_DISCO_F746NG Grove_temperature
Diff: helper_functions.h
- Revision:
- 15:638e65c37d58
- Parent:
- 14:3ac7c08dbc52
--- a/helper_functions.h Mon Jan 18 16:13:13 2021 +0000 +++ b/helper_functions.h Tue Jan 19 10:05:13 2021 +0000 @@ -7,7 +7,8 @@ /** This function returns the percentage of AnalogIn sensor read values that by default are floating point numbers between 0.00 to 1.00. -@read_value Float value from the read() function in analog units. +@param read_value Float value from the read() function in analog units +@return whole number that represents percentage. 1/14/2021 */ int helper_get_sensor_read_in_percent(float read_value)