Skip to content

Releases: chrisb2/pi_ina219

PyPi documentation fix

23 Apr 03:02
Compare
Choose a tag to compare

PyPi documentation fix.

Added is_conversion_ready() function to check if a new reading is available

19 Dec 02:06
Compare
Choose a tag to compare

The is_conversion_ready() function checks if the INA219 has updated the registers with a new reading, this can be used to guarantee that a measurement represents a new reading, not the previous reading. The method is checking bit CNVR in the voltage register according to INA219 datasheet.

Update to use named logger rather than the root logger

09 Nov 06:02
Compare
Choose a tag to compare

Allows a main module module to configure root logger using basicConfig() if required.

Support addressing i2c bus numbers > 1

26 Jun 07:42
Compare
Choose a tag to compare

A new parameter 'busnum' has been added to the INA219 class contructor this is the I2C bus number for the device platform, defaults to auto detects 0 or 1 for Raspberry Pi or Beaglebone Black (optional).