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.
For the ADS1015, which is 12 bit, the 12bit values used for comparison sit in the high bits of the registers. Need to << 4 them.
See "Lo_thresh AND Hi_thresh REGISTERS" section of datasheet.
For ref, here's where it's done in the Arduino version of the lib:
https://github.com/adafruit/Adafruit_ADS1X15/blob/master/Adafruit_ADS1015.cpp#L335
The text was updated successfully, but these errors were encountered: