mirror of
https://github.com/esphome/esphome.git
synced 2024-11-23 15:38:11 +01:00
MCP3204 differential mode support
This commit is contained in:
parent
a777ec90c5
commit
6f4d729e68
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ class MCP3204 : public Component,
|
||||||
void setup() override;
|
void setup() override;
|
||||||
void dump_config() override;
|
void dump_config() override;
|
||||||
float get_setup_priority() const override;
|
float get_setup_priority() const override;
|
||||||
float read_data(uint8_t pin, bool diffmode);
|
float read_data(uint8_t channel, bool differential);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
float reference_voltage_;
|
float reference_voltage_;
|
||||||
|
|
Loading…
Reference in a new issue