This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Struct to hold values and know average | |
struct AVG_8_VALUE { | |
uint16_t values[8]; | |
uint8_t position; | |
uint16_t average; | |
bool ready; | |
}; | |
/// @brief Add value to average | |
/// @param avg average struct |