Platform-agnostic Rust driver for the MAX170xx 1-cell/2-cell fuel-gauge systems with ModelGauge for lithium-ion (Li+) batteries. Compatible with MAX17043, MAX17044, MAX17048, MAX17049, MAX17058 and MAX17059.
Hi - is it possible to use this crate when there are more than one slave device on the I2C bus? I can see that the struct's init takes ownership of the I2C struct.
When the battery discharges wrong values get reported (MAX17048). The reason for that is that this register is i16 formatted in reality and has negative values when the battery discharges. But the library converts them to u16.
I know that it's an old repo, but I found this lib useful for me. Will you merge aa PR if I will make one with the fix :) ?