Closed fustilio closed 4 years ago
Implement method for AXP192 to modify GPIO0 configuration. Tested on microphone demo code: Calling M5.Axp.SetGPIO0(false) disables power to microphone. Calling M5.Axp.SetGPIO0(true) enables power to microphone.
M5.Axp.SetGPIO0(false)
M5.Axp.SetGPIO0(true)
Attached table from datasheet for reference:
Thanks for your PR :)
Implement method for AXP192 to modify GPIO0 configuration. Tested on microphone demo code: Calling
M5.Axp.SetGPIO0(false)
disables power to microphone. CallingM5.Axp.SetGPIO0(true)
enables power to microphone.Attached table from datasheet for reference: