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

Troubleshooting • GPIO 13 (LED, kernel module PWM) and GPIO 12 (buzzer, WiringPi PWM) are experiencing a conflict.

$
0
0
I'm encountering a conflict between GPIO 13 (LED, kernel module PWM) and GPIO 12 (buzzer, WiringPi PWM): when I set GPIO 12's PWM mode using WiringPi, GPIO 13 unexpectedly goes to a constant high state, losing LED color control, which suggests a shared hardware resource; I'm seeking to understand if these pins share a common PWM channel and share the same underlying hardware. If so, is it possible to achieve independent PWM control for both the LED and buzzer with both accessing the hardware PWM controller without changing the pin configurations?

Statistics: Posted by sowmiya — Mon Feb 24, 2025 1:34 pm



Viewing all articles
Browse latest Browse all 8062

Trending Articles