The script contains to interesting lines:
- Code: Select all
result = self.i2c.readList(self.__ADS1015_REG_POINTER_CONVERT, 2)
...
return ( (result[0] << 8) | (result[1] & 0xFF) )
result[0] delivers only values from 128 to 255.
Thanks
P.S.: I'm very happy with my ADC on the raspi.

