You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 20, 2018. It is now read-only.
Platform/operating system (i.e. Raspberry Pi with Raspbian operating system,
Windows 32-bit, Windows 64-bit, Mac OSX 64-bit, etc.): Raspbian GNU/Linux 9 (stretch)
Python version (run python -version or python3 -version): Python 3.5.3
Error message you are receiving, including any Python exception traces: divide by zero error
List the steps to reproduce the problem below (if possible attach code or commands
to run): related to using gain=2/3
The text was updated successfully, but these errors were encountered:
In line 34 of Adafruit_Python_ADS1x15/ADS1x15.py at 733d179bfca9aff1a8357dea3a2b12108e3801e9 · adafruit/Adafruit_Python_ADS1x15, dictionary keys are suspect:
This gives unexpected values of the ‘2/3’ key no matter what python version is used.
Python 2:
Python 3:
Maybe make the keys strings?
Platform/operating system (i.e. Raspberry Pi with Raspbian operating system,
Windows 32-bit, Windows 64-bit, Mac OSX 64-bit, etc.): Raspbian GNU/Linux 9 (stretch)
Python version (run
python -version
orpython3 -version
): Python 3.5.3Error message you are receiving, including any Python exception traces: divide by zero error
List the steps to reproduce the problem below (if possible attach code or commands
to run): related to using
gain=2/3
The text was updated successfully, but these errors were encountered: