Library for the ADS1015 and ADS1115 ADCS
Fork of ADS1015 by
Diff: Adafruit_ADS1015.cpp
- Revision:
- 21:1ed94c2550b2
- Parent:
- 20:277793ce35b2
--- a/Adafruit_ADS1015.cpp Thu Jun 21 15:49:53 2018 +0000 +++ b/Adafruit_ADS1015.cpp Mon Jun 25 14:36:37 2018 +0000 @@ -179,7 +179,7 @@ config |= m_gain; // Set channels - config |= ADS1015_REG_CONFIG_MUX_DIFF_0_3; // AIN0 = P, AIN1 = N + config |= ADS1015_REG_CONFIG_MUX_DIFF_2_3; // AIN0 = P, AIN1 = N // Set 'start single-conversion' bit config |= ADS1015_REG_CONFIG_OS_SINGLE;