Added support for thermistors and setting the cell temperature over i2c.
For the b-constant, the sensor expects an integer with the unit of 1k. (so 3950K is 3950)
For the cell_temperature, the registers hold the Kelvin temperature. I'm converting to and from Celsius. If this is not desired in the library, I can remove the conversion.
Added support for thermistors and setting the cell temperature over i2c.
For the b-constant, the sensor expects an integer with the unit of 1k. (so 3950K is 3950)
For the cell_temperature, the registers hold the Kelvin temperature. I'm converting to and from Celsius. If this is not desired in the library, I can remove the conversion.