View Single Post
Posts: 159 | Thanked: 217 times | Joined on Oct 2011
#264
@pinochio

In the bq27200.sh under the line:

Code:
debugechon "Reading values"
there are many lines where the i2cget is used. Insert -f before all the -y like below:

Code:
AR=$(/i2cget -f -y 2 0x55 0x02 w) ; dot
ARTTE=$(/i2cget - f -y 2 0x55 0x04 w); dot
.
.
.
But this doesn't change the fact that the battery shows 50% charge on the statusmenu, even when the voltage is read correctly by the bq27200.sh.
 

The Following 2 Users Say Thank You to Kossuth For This Useful Post: