This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

BQ27501怎么通过I2C读取电池信息

Other Parts Discussed in Thread: BQ24195, BQ28400, BQ20Z40-R1, AM3354

BQ27501怎么通过I2C读取电池信息,需要读取电池电量和电池状态侦测。由于我写的接口读出来的数据明显不对,谁能提供C代码了,不需要I2C接口,就是如何封装命令,然后发送给I2C就可以了。

如果有完整的例子就最好了,包括I2C接口