• 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: Arduino MEGA2560 R3 Raspberry Pi 10.1 inch DSI LCD TouchScreen Display 800x1280 Also For RK3576/RK3506/ESP32-P4 ESP32 S3 Development Board 1.64 inch AMOLED Display 1.64inch TouchScreen For Arduino LVGL With SD-Port/ QMI8658C 6-Axis Sensor LuckFox Pico UART JETSON-NANO-MINI Raspberry Pi 5 inch DSI MIPI LCD TouchScreen Display 7inch 720x1280 For Luckfox Lyra RK3506/ESP32-P4/Luckfox Omni3576 Raspberry Pi 2inch LCD ESP32-C3FN4 Raspberry Pi 5 Camera Jetson Orin 5G/4G/3G expansion board GNSS GPS SIM8260G-M2 SIM8262E-M2 Raspberry Pi 5 RTC Battery Raspberry Pi 5 Power Jetson Orin 4G/3G/2G expansion board GNSS GPS SIM7600G-H-M.2 luckfox-pico-ultra-w-gpio Use NVIDIA Jetson Orin Nano/NX PoE Mini Expansion Board Power over Ethernet RJ45 802.3af compliant Milk-V Duo Ethernet Gyroscope Raspberry Pi 5 UPS HAT E 4-Port For 21700-Li-Battery (NOT includ) 5V6A Uninterruptible Power Supply ESP32 P4 Development Board WIFI6 4 inch LCD Round Display 4inch TouchScreen 720×720 Dual Microphones Arduino Thermal imaging camera