M5Unit-THERMO 0.2.0 git rev:e387a6b
Loading...
Searching...
No Matches
m5::unit::thermal2::Data Struct Reference

Measurement data group. More...

#include <unit_Thermal2.hpp>

Public Member Functions

float medianTemperature () const
 
float averageTemperature () const
 
float mostDiffTemperature () const
 
float lowestTemperature () const
 
float highestTemperature () const
 
float temperature (const uint_fast16_t idx) const
 

Public Attributes

uint8_t subpage {}
 
union { 
 
   uint16_t   temp [8] {} 
 
   struct { 
 
      uint16_t   median_temperature 
 
      uint16_t   average_temperature 
 
      uint16_t   most_diff_temperature 
 
      uint8_t   most_diff_x 
 
      uint8_t   most_diff_y 
 
      uint16_t   lowest_temperature 
 
      uint8_t   lowest_diff_x 
 
      uint8_t   lowest_diff_y 
 
      uint16_t   highest_temperature 
 
      uint8_t   highest_diff_x 
 
      uint8_t   highest_diff_y 
 
   }  
 
};  
 
uint16_t raw [384] {}
 

Detailed Description

Measurement data group.