• sales

    +86-0755-88291180

9. Fonts are not clear on LCD User Guide

Fonts are not clear on LCD

1. Problem phenomenon

During the experiment, it was found that some of the fonts displayed on the display screen were very dim, and some were almost white, so it was difficult to see the font.

2. The cause of the problem

In fact, it is caused by the contrast of the screen. Due to the individual differences of the products shipped from the factory, some products need to adjust contrast ratio before they can be displayed normally.

3. Solution

Open the code to initialize the LCD function. The last parameter is to set the contrast ratio. Modifying the contrast ratio appropriately can solve the problem.




Contrast ratio is stored in the contrast variable, we can directly modify the value of the variable, the range of contrast is 30-90.

Then, re-compile the project and run the program to see the effect.

TAG: Pi5-Pcie-Fish-Boar ESP32 14 inch Dual LCD Computer PC Monitor Display Double Secondary Screen Type C Mini HDMI 1080P For Windows/MacOS Raspberry Pi 5 D Raspberry Pi RP2040 LoRa-HF Raspberry Pi 5 Cooling RP2040-PiZero Milk-V Duo S UART Serial Console​ STM32 0.96inch RGB OLED FT4232HL USB TTL RS232 Industrial UART 4-Ch UART Core3566002032 Orange Pi Zero 3 RDK X5 PoE Module For Power Over Ethernet/ IEEE 802.3af/at PoE For D-Robotics RDK X5 Install Espressif IDF Plugin Tutorial User Guide RS485 Bus Raspberry Pi 5 Case Raspberry Pi Camera 12MP Sony IMX708 autofocus HDR Module 3 Sensor Assembly Raspberry Pi 0.96inch RGB OLED Raspberry Pi CM5 Compute Module 5 Development Kit With CM5104032 + Official Original IO Board + Case DDSM400 Direct Drive Servo Motor All-In-One Design Hub Serial -LIN Bus Motor