• 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: X1301 Raspberry Pi 5 HDMI to CSI-2 Shield 1080P@60fps & Audio & Video Also For 4B/3B ESP32 ST7789 ESP32-P4 Pico WIFI6 Development Board C6 MIPI DSI 10.1-inch Display /CSI Camera /Audio Speaker Mic AI Deepseek X1202 Raspberry Pi 5 UPS Board Uninterruptible Power Supply For 18650-Li-Battery (NOT includ) 4-Ports RP204 0.85inch LCD Milk V WiFi Wireless ESP32 DDSM Motor Driver HAT For Direct Drive Servo Hub Motors For Raspberry Pi ESP32 Thermal imaging camera MPW7 Raspberry Pi 5 PCIe to WIFI7 Adapter Board HAT Pi5 For Google TPU BE200 AX210 AI ESP32-C5 WIFI6 Development Board ESP32-C5-WROOM-1 N16R4/N16R8 Raspberry Pi 5 PCIe TO Gigabit ETH USB3.2 HAT+ USB HUB RISC-V Raspberry Pi 5 / 4B UPS With PD Trigger Activation Uninterruptible Power Bank Supply 9600mAh 5V/5A 25W Also For Phone/Mini Computer PC Raspberry Pi Pico ST7789 Raspberry Pi 5inch Display Raspberry Pi display Raspberry Pi 5 PD Trigger JETSON-IO-BASE-A user Guid 2.8inch Capacitive TouchScreen LCD Display ST7789 CST328 240x320 For Arduino/Raspberry Pi/ESP32/Pico Accelerometer