10#ifndef M5_UNIT_ENV_UNIT_SCD41_HPP
11#define M5_UNIT_ENV_UNIT_SCD41_HPP
23 M5_UNIT_COMPONENT_HPP_BUILDER(
UnitSCD41, 0x62);
28 auto ccfg = component_config();
29 ccfg.clock = 400 * 1000U;
30 component_config(ccfg);
60constexpr uint16_t MEASURE_SINGLE_SHOT_DURATION{5000};
61constexpr uint16_t MEASURE_SINGLE_SHOT_RHT_ONLY_DURATION{50};
65constexpr uint16_t MEASURE_SINGLE_SHOT{0x219d};
66constexpr uint16_t MEASURE_SINGLE_SHOT_RHT_ONLY{0x2196};
SCD40 unit component.
Definition unit_SCD40.hpp:78
SCD41 unit component.
Definition unit_SCD41.hpp:22
bool measureSingleshotRHT(scd4x::Data &d)
Request a single measurement temperature and humidity.
Definition unit_SCD41.cpp:36
bool measureSingleshot(scd4x::Data &d)
Request a single measurement.
Definition unit_SCD41.cpp:27
Top level namespace of M5stack.
Measurement data group.
Definition unit_SCD40.hpp:38
SCD40 Unit for M5UnitUnified.