Closed HouzuoGuo closed 1 year ago
Hey! I'm porting my ttgo t-beam's code to run on the newer model with AXP2101. For AXP192 I've got these lines of code reading the current consumption:
status.batt_milliamp = pmu->getBatteryChargeCurrent(); status.batt_milliamp = -pmu->getBattDischargeCurrent(); status.power_draw_milliamp = pmu->getVbusCurrent();
Is there an equivalent for AXP2101?
Thanks.
AXP2101 does not have this function, only AXP192 has it
Hey! I'm porting my ttgo t-beam's code to run on the newer model with AXP2101. For AXP192 I've got these lines of code reading the current consumption:
Is there an equivalent for AXP2101?
Thanks.