Code: Select all
Adafruit_ADS1015 ads1(0x49);
Adafruit_ADS1015 ads2(0x4A);
ads1.begin();
ads2.begin();
adc0 = ads1.readADC_SingleEnded(0);
Serial.print("AIN0: "); Serial.println(adc0);
adc0 = ads2.readADC_SingleEnded(0);
Serial.print("AIN0: "); Serial.println(adc0);
If i swap the hardware, the results remain the same, e.g. the 0x4A unit reads 4095 only.
any hints?
Thanks