adafruit / Adafruit_ADS1X15

Driver for TI's ADS1015: 12-bit Differential or Single-Ended ADC with PGA and Comparator
Other
289 stars 301 forks source link

Change class inheritance #57

Closed caternuson closed 3 years ago

caternuson commented 3 years ago

First in perhaps a series of PRs for a major library overhaul. This one is really just a simple rearranging of the class layout with the ADS1015 and ADS1115 each sharing a common base class. Library files have been renamed as well, which is a breaking change. Examples updated.

Tested single ended example with both ADS1015 and ADS1115: ads_test