|
M5Unit-LIGHT 0.0.2 git rev:6d734f0
|
BH1750FVI data types (enums, constants, Data struct) More...
#include <cstdint>#include <limits>Go to the source code of this file.
Classes | |
| struct | m5::unit::bh1750fvi::Data |
| Measurement data group. More... | |
Namespaces | |
| namespace | m5 |
| Top level namespace of M5Stack. | |
| namespace | bh1750fvi |
| For BH1750FVI. | |
Enumerations | |
| enum class | m5::unit::bh1750fvi::Mode : uint8_t { Continuous , OneTime } |
| Measurement mode. More... | |
| enum class | m5::unit::bh1750fvi::Resolution : uint8_t { Low , High , High2 } |
| Resolution of the measurement. More... | |
BH1750FVI data types (enums, constants, Data struct)
Split out from unit_BH1750FVI.hpp so pure formula tests can include it without pulling in M5UnitComponent (which is ESP32-only). Native (SDL) builds link data_test.cpp against these inline definitions.
|
strong |
|
strong |
Resolution of the measurement.
| Enumerator | |
|---|---|
| Low | 4 lx resolution, ~16 ms (max 24 ms) conversion time |
| High | 1 lx resolution, ~120 ms (max 180 ms) conversion time |
| High2 | 0.5 lx resolution, ~120 ms (max 180 ms) conversion time |