ESPHome 2026.12.0-dev
Loading...
Searching...
No Matches
esphome::ads1xxx Namespace Reference

Functions

float to_volts (int16_t raw, uint16_t config)
 Volts for a conversion result taken with the gain field of config; 12-bit results are left-justified.
 

Function Documentation

◆ to_volts()

float esphome::ads1xxx::to_volts ( int16_t raw,
uint16_t config )
inline

Volts for a conversion result taken with the gain field of config; 12-bit results are left-justified.

Definition at line 13 of file ads1xxx.h.