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!
"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