8 static const char *
const TAG =
"ads1118.sensor";
11 LOG_SENSOR(
" ",
"ADS1118 Sensor",
this);
12 ESP_LOGCONFIG(TAG,
" Multiplexer: %u", this->
multiplexer_);
13 ESP_LOGCONFIG(TAG,
" Gain: %u", this->
gain_);
23 ESP_LOGD(TAG,
"'%s': Got Voltage=%fV", this->
get_name().c_str(), v);
ADS1118Multiplexer multiplexer_
void publish_state(float state)
Publish a new state to the front-end.
void dump_config() override
Implementation of SPI Controller mode.
const StringRef & get_name() const