20 #include <Adafruit_ADS1X15.h>
30 Adafruit_ADS1115 ads_;
43 void begin(
int addr,
int sda_pin,
int scl_pin);
void begin(int addr, int sda_pin, int scl_pin)
float read_voltage(ADCChannel ch)
Read voltage from ADC channel (computes voltage using the set fixed gain)
int16_t read(ADCChannel ch)
Read ADC value from channel.