39 void setup()
override;
void set_current_resistor(float r)
const float DATA
For components that import data from directly connected sensors like DHT.
void set_watt_sensor(sensor::Sensor *ws)
float get_setup_priority() const override
This class simplifies creating components that periodically check a state.
uint8_t register_map_[0x0C]
void set_current_sensor(sensor::Sensor *cs)
void set_temp_sensor(sensor::Sensor *ts)
sensor::Sensor * voltage_sensor_
void set_voltage_sensor(sensor::Sensor *vs)
sensor::Sensor * watt_sensor_
sensor::Sensor * temperature_sensor_
Implementation of SPI Controller mode.
void dump_config() override
sensor::Sensor * current_sensor_
Base-class for all sensors.
This Class provides the methods to read/write bytes from/to an i2c device.
void set_gain(MAX9611Multiplexer g)