8 static const char *
const TAG =
"mcp3204.sensor";
15 LOG_SENSOR(
"",
"MCP3204 Sensor",
this);
16 ESP_LOGCONFIG(TAG,
" Pin: %u", this->
pin_);
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
MCP3204Sensor(uint8_t pin)
void dump_config() override
void publish_state(float state)
Publish a new state to the front-end.
Implementation of SPI Controller mode.