chrisb2 / pi_ina219

This Python library supports the INA219 voltage, current and power monitor from Texas Instruments with a Raspberry Pi using the I2C bus. The intent of the library is to make it easy to use the quite complex functionality of this sensor.
MIT License
114 stars 34 forks source link

addressing i2c bus numbers > 1 #11

Closed eXodus1440 closed 6 years ago

eXodus1440 commented 6 years ago

Passing busnum through to I2C to allow addressing from boards like the UpSquared as outlined in issue #9

codecov-io commented 6 years ago

Codecov Report

Merging #11 into master will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #11   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           1      1           
  Lines         228    228           
  Branches       17     17           
=====================================
  Hits          228    228
Impacted Files Coverage Δ
ina219.py 100% <100%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 343bb9e...62a00e6. Read the comment docs.

eXodus1440 commented 6 years ago

Updated both, let me know if there's any other updates needed

chrisb2 commented 6 years ago

Will push update to PyPi as v1.2.0 shortly.