this library has few cahnges from the original library, for effects of this work.
Fork of ADS1015 by
Diff: Adafruit_ADS1015.h
- Revision:
- 6:9970e4a3007e
- Parent:
- 4:6445a678d458
--- a/Adafruit_ADS1015.h Sat Oct 11 08:45:17 2014 +0000 +++ b/Adafruit_ADS1015.h Mon May 21 15:09:51 2018 +0000 @@ -26,7 +26,7 @@ /*========================================================================= I2C ADDRESS/BITS -----------------------------------------------------------------------*/ - #define ADS1015_ADDRESS (0x48) // 1001 000 (ADDR = GND) + #define ADS1015_ADDRESS (0x4A) // 1001 000 (ADDR = GND) /*=========================================================================*/ /*========================================================================= @@ -105,7 +105,7 @@ /*=========================================================================*/ typedef enum { - GAIN_TWOTHIRDS = ADS1015_REG_CONFIG_PGA_6_144V, + GAIN_TWOTHIRDS = ADS1015_REG_CONFIG_PGA_6_144V, GAIN_ONE = ADS1015_REG_CONFIG_PGA_4_096V, GAIN_TWO = ADS1015_REG_CONFIG_PGA_2_048V, GAIN_FOUR = ADS1015_REG_CONFIG_PGA_1_024V,