I am getting following error
pi@raspberrypi:~/Adafruit_Python_ADS1x15/examples $ sudo python simpletest.py
Reading ADS1x15 values, press Ctrl-C to quit...
| 0 | 1 | 2 | 3 |
-------------------------------------
Traceback (most recent call last):
File "simpletest.py", line 42, in <module>
values = adc.read_adc(i, gain=GAIN)
File "build/bdist.linux-armv7l/egg/Adafruit_ADS1x15/ADS1x15.py", line 192, in read_adc
File "build/bdist.linux-armv7l/egg/Adafruit_ADS1x15/ADS1x15.py", line 128, in _read
File "build/bdist.linux-armv7l/egg/Adafruit_GPIO/I2C.py", line 129, in writeList
File "build/bdist.linux-armv7l/egg/Adafruit_PureIO/smbus.py", line 274, in write_i2c_block_data
IOError: [Errno 121] Remote I/O error
pi@raspberrypi:~/Adafruit_Python_ADS1x15/examples $
pi@raspberrypi:~/Adafruit_Python_ADS1x15/examples $ sudo i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- 48 -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
pi@raspberrypi:~/Adafruit_Python_ADS1x15/examples $
Pi 3 Pin -------- ADS1115
Pin 1 ---------- VDD
Pin 3 ----------- SDA
Pin 5 ------------ SCL
Pin 9 ------------ Ground
I don't have idea what's cause error getting Please tell me how to fix that error