• 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/4B not boot To update BootLoader EEPROM Tutorial JSON Command Meaning Raspberry Pi 10.1 inch DSI LCD TouchScreen Display 800x1280 Also For RK3576/RK3506/ESP32-P4 Raspberry Pi 5 Case LuckFox Pico User Guide Integrated capacitive fingerprint module Cortex core UART serial port High-precision fingerprint recognition ESP-IDF download and installation Raspberry Pi Display Driver Board Serial Server ESP32 S3 Development Board 2.8 inch Round LCD Display 480x480 QMI8658 Sensor / SD /MP3 Audio /Battery Port LVGL/HMI For Arduino VGA to TTL ESP32 ST7789 configuration Raspberry Pi 3 LCD HAT Raspberry Pi Spotpear NVIDIA Jetson TX2 NX Module Industrial Modbus RTU 8 ch Relay Module Raspberry Pi Starlight Camera IR-CUT IMX462 (A) Sensor 2MP 90 Degree A7670E LTE Cat-1 HAT for Raspberry Pi Multi Band 2G GSM / GPRS LBS spotpear