pimoroni / automation-hat

Python library and examples for the Pimoroni Automation HAT, pHAT and HAT Mini
https://shop.pimoroni.com/products/automation-hat
MIT License
121 stars 42 forks source link

Migrate to ADS1015 library for #11 #48

Closed Gadgetoid closed 2 years ago

Gadgetoid commented 2 years ago
  1. [x] Must test for threading regressions, since the baked-in ADS1015 used a lock (added in #22) to ensure ADC reads don't clobber each other. ads1015-python will need to implement this. :warning: Do not regress #16 or #22 !!!
  2. [ ] Should probably update to the new sn3218 codebase currently rotting in a private repository.
  3. [x] Make sure ADC values are sensible and that things still work!
  4. [ ] Test coverage leaves something to be desired
coveralls commented 2 years ago

Pull Request Test Coverage Report for Build 1712656816


Files with Coverage Reduction New Missed Lines %
automationhat/init.py 82 58.93%
<!-- Total: 82 -->
Totals Coverage Status
Change from base Build 1439444397: -5.7%
Covered Lines: 224
Relevant Lines: 363

💛 - Coveralls