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

Fix SN3218 2.0.0 bug for #50 #51

Closed Gadgetoid closed 2 years ago

Gadgetoid commented 2 years ago

The breaking update to v2.0.0 in SN3218 messed up the phat/hat disambiguation and SN3218 auto detection. I've updated to the new class-based approach to fix this.

coveralls commented 2 years ago

Pull Request Test Coverage Report for Build 1812643266


Files with Coverage Reduction New Missed Lines %
automationhat/init.py 64 59.22%
<!-- Total: 64 -->
Totals Coverage Status
Change from base Build 1717545495: 0.2%
Covered Lines: 226
Relevant Lines: 365

💛 - Coveralls