• 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: Pan-Tilt Kit Raspberry Pi 5 Case ESP32-S3 SIM7670G 4G Development Board With Camera LTE Cat-1/4G/GNSS/GPS Global Band Portable WIFI ESP32-S3 ST7789 Spotpear LCD1602 I2C Module PWM Adjustable backlight 3.3V/5V For Arduino/ Raspberry Pi/ Pico/ Jetson Nano/ ESP32 DDSM400 Direct Drive Servo Motor All-In-One Design Hub Serial -LIN Bus Motor Raspberry Pi Pico 2 RP2350 1.28 inch Round LCD TouchScreen Development Board 240x240 Display QMI8658 6-Axis $17.9 Jetson Nano Development Raspberry Pi 5 PWM Fan Raspberry Pi LCD display screen 1.3inch ST7789 with Game Button A Raspberry Pi 8.8 inch DSI MIPI Display LCD Capacitive TouchScreen 480x1920 2.13Inch E-Paper Serial Bus Servo Raspberry Pi 5 Case Raspberry Pi Pico Spotpear 7inch LCD 1024×600 Computer PC Monitor Display Secondary Screen TypeC USB CPU RAM Only For Windows 7inch-USB-Monitor user guide Tang-Nano-20K-FPGA-Unboxing