2 ms·
> Curious what you mean by PWM by hand. Have a timer that is some function of your PWM frequency, and manually toggle the GPIO line in the timer interrupt. Yo
by monocasa 8y ago
> Curious what you mean by PWM by hand.
Have a timer that is some function of your PWM frequency, and manually toggle the GPIO line in the timer interrupt.
You can do it in a super loop too if you don't care about power consumption.