Quantcast
Viewing all articles
Browse latest Browse all 4833

General discussion • Re: Raspberry Pi GPIO 18

The Adafruit board needs to use GPIO 18 for the PCM Clock signal. That isn't available on any other pin.

The Waveshare display is using it for PWM to control the backlight brightness. PWM0 is also available on GPIO 12 (pin 32). So a tweak to the GPIO used in the Waveshare driver should allow both devices to work.

It doesn't look too hare to change. If using C, change the #define LCD_BL 18 in lib/Config/DEV_Config.h and build the drive, and for Python in lib/lcdconfig.pg change the "bl = 18" in the def __init__() line.

I don't have one of those displays or the amp board, so can't test.

Statistics: Posted by rpdom — Thu Nov 14, 2024 9:05 am



Viewing all articles
Browse latest Browse all 4833

Trending Articles