8 static const char *
const TAG =
"adc128s102.sensor";
15 LOG_SENSOR(
"",
"ADC128S102 Sensor",
this);
16 ESP_LOGCONFIG(TAG,
" Pin: %u", this->
channel_);
17 LOG_UPDATE_INTERVAL(
this);
const float DATA
For components that import data from directly connected sensors like DHT.
float get_setup_priority() const override
void publish_state(float state)
Publish a new state to the front-end.
void dump_config() override
ADC128S102Sensor(uint8_t channel)
Implementation of SPI Controller mode.