Introduction - If you have any usage issues, please Google them yourself
The basic idea of this method is the use of microcontroller has the PWM ports, without changing the PWM square wave cycle, under the premise of the method to adjust by software MCU PWM control registers to adjust the PWM duty cycle and thus control the charge current