• 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: Raspberry Pi 5 Official Original PCIe to M.2 HAT+ Compact Expansion Board NVMe SSD Computer AI Deepseek Mechanical Voice Keyboard Linux 10x0.85inch LCD Screen Customize keys + 2.01 inch Secondary Display Industrial Grade Isolated USB TO RS232/485 (B) Serial UART Converter FT232RNL For Wall/Rail-Mount Luckfox Pico plus ESP32 C3 LCD Power Milk-V Duo RJ45 Tutorial Milk-V Duo Ethernet X1010 Raspberry Pi 5 PCIe FFC Connector to Standard PCIe x4 Slot Expansion Board Jetson Nano 3G module PI5 Raspberry Pi xiaozhi AI Character Personality Configuration Tutorial USB TO RS485 GC9107 MK20 Computer AI Deepseek Mechanical Voice Keyboard Linux 20x0.85inch LCD Screen Customize keys + 2.8 inch Secondary Display UGV Rover PT AI OpenCV Robot Car MediaPipe For Raspberry Pi Raspberry Pi 5 DSI User Guide 1.28 inch Round Rotary LCD Smart Screen 1.28inch Knob Display 240x240 Option Touch/No-Touch Raspberry Pi 5 POE PCIe To M.2 E KEY NGFF WIFI7 WIFI6 For BE200/AX210/AX200/RTL8822CE