adafruit/Adafruit-Raspberry-Pi-Python-Code

ADS1x15 python: mistakes in error messages

HamishB opened this issue · 1 comments

While searching for how to do differential sampling in continuous sampling mode (still hunting for it!) I notice that the Adafruit_ADS1x15/Adafruit_ADS1x15.py file contains many errors in the print statements for invalid sps and pga values. Often sps and pga are swapped, both in name and in the example (e.g. gives mV instead of Hz).

patch here:
https://gist.github.com/HamishB/11246772

regards,
Hamish

Thank you for the Issue!
This library has been deprecated in favor of our python3 Blinka library. We have replaced all of the libraries that use this repo with CircuitPython libraries that are Python3 compatible, and support a wide variety of single board/linux computers!

Visit https://circuitpython.org/blinka for more information

CircuitPython has support for almost 200 different drivers, and a as well as FT232H support for Mac/Win/Linux!