1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-11 07:42:26 +01:00
This commit is contained in:
Otto Winter
2019-05-08 14:56:54 +02:00
parent 95428b4cfe
commit 3fe9c20188
8 changed files with 11 additions and 31 deletions

View File

@@ -12,8 +12,7 @@ namespace adc {
ADC_MODE(ADC_VCC)
#endif
class ADCSensor : public sensor::Sensor, public PollingComponent,
public voltage_sampler::VoltageSampler {
class ADCSensor : public sensor::Sensor, public PollingComponent, public voltage_sampler::VoltageSampler {
public:
#ifdef ARDUINO_ARCH_ESP32
/// Set the attenuation for this pin. Only available on the ESP32.