8 static const char *
const TAG =
"ads1115.sensor";
17 ESP_LOGD(TAG,
"'%s': Got Voltage=%fV", this->
get_name().c_str(), v);
23 LOG_SENSOR(
" ",
"ADS1115 Sensor",
this);
24 ESP_LOGCONFIG(TAG,
" Multiplexer: %u", this->
multiplexer_);
25 ESP_LOGCONFIG(TAG,
" Gain: %u", this->
gain_);
26 ESP_LOGCONFIG(TAG,
" Resolution: %u", this->
resolution_);
ADS1115Resolution resolution_
void dump_config() override
ADS1115Component * parent_
ADS1115Multiplexer multiplexer_
void publish_state(float state)
Publish a new state to the front-end.
Implementation of SPI Controller mode.
const StringRef & get_name() const