Library for the ADS1015 and ADS1115 ADCS
Fork of ADS1015 by
Revision 21:1ed94c2550b2, committed 2018-06-25
- Comitter:
- xorjoep
- Date:
- Mon Jun 25 14:36:37 2018 +0000
- Parent:
- 20:277793ce35b2
- Commit message:
- ADS updated for new board
Changed in this revision
Adafruit_ADS1015.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 277793ce35b2 -r 1ed94c2550b2 Adafruit_ADS1015.cpp --- 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;