pimoroni / ioe-python

Python library for the Nuvoton MS51 Pimoroni IO Expander Breakout
https://shop.pimoroni.com/products/io-expander
MIT License
8 stars 13 forks source link

Add switch counter support #6

Closed Gadgetoid closed 3 years ago

Gadgetoid commented 3 years ago

Add support for the 7-bit switch/pulse counters for rain sensors & anemometers.

Replaces previous attempt from https://github.com/pimoroni/ioe-python/commit/a45e5a84a9ae1dfc3f40a7e5c72ff116ab3385e9 since this is slightly nicer.

coveralls commented 3 years ago

Pull Request Test Coverage Report for Build 946963128


Files with Coverage Reduction New Missed Lines %
ioexpander/init.py 71 80.0%
<!-- Total: 71 -->
Totals Coverage Status
Change from base Build 895847068: 1.6%
Covered Lines: 376
Relevant Lines: 500

💛 - Coveralls