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

Return bool for begin() #67

Closed caternuson closed 3 years ago

caternuson commented 3 years ago

Simple change to return a boolean for begin() that is just the same as i2cdev.begin().

This is for #66. But #64 may also be related. I dumped a code snippet in the issue thread for #64 that I tested but never PR'd, since there was no 100% sure way to solve the issue raised in #64. Can update this PR to include that as well?