8 static const char *
const TAG =
"mcp3008.sensor";
13 ESP_LOGCONFIG(TAG,
"MCP3008Sensor:");
14 ESP_LOGCONFIG(TAG,
" Pin: %u", this->
pin_);
const float DATA
For components that import data from directly connected sensors like DHT.
float get_setup_priority() const override
void dump_config() override
void publish_state(float state)
Publish a new state to the front-end.
Implementation of SPI Controller mode.