21 void read_lx_(
const std::function<
void(
float)> &f);
This class simplifies creating components that periodically check a state.
This Class provides the methods to read/write bytes from/to an i2c device.
This class implements support for the i2c-based OPT3001 ambient light sensor.
void read_result_(const std::function< void(float)> &f)
void read_lx_(const std::function< void(float)> &f)
float get_setup_priority() const override
void dump_config() override
Base-class for all sensors.
Providing packet encoding functions for exchanging data with a remote host.