m5stack / M5Core2

M5Core2 Arduino Library
MIT License
263 stars 115 forks source link

In Core2 there no M5.Power functions #57

Closed SlimRG closed 3 years ago

SlimRG commented 3 years ago

In Core2 there no M5.Power functions. I know that here is AXP192 chip. But there no getBatteryLevel() function

Tinyu-Zhao commented 3 years ago

You can use the function GetBatVoltage() to read his voltage, the standard voltage is 3.7V.

SlimRG commented 3 years ago

58 https://github.com/m5stack/M5Core2/pull/58