m5stack / M5StickC

M5StickC Arduino Library
MIT License
477 stars 222 forks source link

Add charge control #49

Closed tanakamasayuki closed 4 years ago

tanakamasayuki commented 5 years ago

I want a mode that doesn't charge. Use when the power supply is always connected.

// Get charge flag bool AXP192::GetCharge()

// Set charge flag void AXP192::SetCharge(bool charge)