M5Unit-ENV 1.2.0 git rev:d576302
Loading...
Searching...
No Matches
unit_SHT40.hpp File Reference

SHT40 Unit for M5UnitUnified. More...

#include <M5UnitComponent.hpp>
#include <m5_utility/container/circular_buffer.hpp>
#include <limits>

Go to the source code of this file.

Classes

struct  m5::unit::sht40::Data
 Measurement data group. More...
 
class  m5::unit::UnitSHT40
 Temperature and humidity, sensor unit. More...
 
struct  m5::unit::UnitSHT40::config_t
 Settings for begin. More...
 

Namespaces

namespace  m5
 Top level namespace of M5stack.
 
namespace  sht40
 For SHT40.
 

Enumerations

enum class  m5::unit::sht40::Precision : uint8_t { High , Medium , Low }
 precision level More...
 
enum class  m5::unit::sht40::Heater : uint8_t { Long , Short , None }
 Heater behavior. More...
 

Detailed Description

SHT40 Unit for M5UnitUnified.

Enumeration Type Documentation

◆ Heater

enum class m5::unit::sht40::Heater : uint8_t
strong

Heater behavior.

Enumerator
Long 

Activate heater for 1s.

Short 

Activate heater for 0.1s.

None 

Not activate heater.

◆ Precision

enum class m5::unit::sht40::Precision : uint8_t
strong

precision level

Enumerator
High 

High precision (high repeatability)

Medium 

Medium precision (medium repeatability)

Low 

Lowest precision (low repeatability)