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

Beginners • Hardware PWM

$
0
0
I want to control a motor using PWM. Hardware PWM probably won't be critical but I'd feel happier. So I asked the question:

"does RPi.GPIO support hardware pwm output?"

Google said:
"Yes, RPi.GPIO supports both software and hardware PWM on Raspberry Pi. While all GPIO pins can utilize software PWM, hardware PWM is limited to specific pins like GPIO12, GPIO13, GPIO18, and GPIO19."

ChatGPT said:
"The RPi.GPIO library for Raspberry Pi does not support hardware PWM — it only supports software PWM."

Searching this forum throws up lots of discussion on the subject but I'm no clearer on an answer to my simple question.

Enlightenment please!

Statistics: Posted by invictusbob — Thu Jul 17, 2025 6:05 pm



Viewing all articles
Browse latest Browse all 8042

Trending Articles