Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8037

Beginners • Re: Hardware PWM

$
0
0
The Pi documentation says that "Hardware PWM available on GPIO12, GPIO13, GPIO18, GPIO19". Being able to access that hardware PWM is another matter.
That's correct, but there are only two hardware PWM channels. PWM0 is available on GPIO 12 or 18, PWM1 is available on 13 or 19.
The PIGPIO library claims "hardware timed PWM on all of GPIO 0-31" which suggests that it's not using the native hardware PWM.
Correct. From what I understand it is software PWM using hardware interrupts for timing.

Statistics: Posted by rpdom — Fri Jul 18, 2025 4:42 pm



Viewing all articles
Browse latest Browse all 8037

Trending Articles