48 void setup()
override;
74 std::vector<std::tuple<LTR390MODE, std::function<void()>>>
mode_funcs_;
void set_uv_gain_value(LTR390GAIN gain)
void read_mode_(int mode_index)
const float DATA
For components that import data from directly connected sensors like DHT.
void set_als_sensor(sensor::Sensor *als_sensor)
float get_setup_priority() const override
void set_uvi_sensor(sensor::Sensor *uvi_sensor)
This class simplifies creating components that periodically check a state.
optional< uint32_t > read_sensor_data_(LTR390MODE mode)
void set_uv_res_value(LTR390RESOLUTION res)
void set_als_gain_value(LTR390GAIN gain)
BedjetMode mode
BedJet operating mode.
void set_als_res_value(LTR390RESOLUTION res)
sensor::Sensor * uv_sensor_
void set_wfac_value(float wfac)
sensor::Sensor * light_sensor_
void set_light_sensor(sensor::Sensor *light_sensor)
void set_uv_sensor(sensor::Sensor *uv_sensor)
std::vector< std::tuple< LTR390MODE, std::function< void()> > > mode_funcs_
void dump_config() override
Implementation of SPI Controller mode.
sensor::Sensor * uvi_sensor_
Base-class for all sensors.
sensor::Sensor * als_sensor_
LTR390RESOLUTION res_als_
This Class provides the methods to read/write bytes from/to an i2c device.