Function temperature_get_extremes(uint8_t, uint8_t, uint8_t)

Function Documentation

void temperature_get_extremes(uint8_t temps[], uint8_t min[2], uint8_t max[2])

Computes the two highest and lowest temperatures.

Parameters
  • temps: The input array
  • min: The lowest temperature output array
  • max: The highest temperature output array