ESPHome 2025.5.0
Loading...
Searching...
No Matches
voltage_sampler.h
Go to the documentation of this file.
1#pragma once
2
4
5namespace esphome {
6namespace voltage_sampler {
7
10 public:
12 virtual float sample() = 0;
13};
14
15} // namespace voltage_sampler
16} // namespace esphome
Abstract interface for components to request voltage (usually ADC readings)
virtual float sample()=0
Get a voltage reading, in V.
Providing packet encoding functions for exchanging data with a remote host.
Definition a01nyub.cpp:7