• 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: Serial UART Bus Servo ST3215-HS 20KG.CM High Speed Magnetic Encoder 360° Large Torque Raspberry Pi MIPI ESP32-S3 GEEK Development Board Aluminum Heatsink Raspberry Pi 5 PCIe to 4-CH PCIe FFC HAT Board Pi5 4 Channels Raspberry Pi Camera 12MP Sony IMX708 autofocus HDR Module 3 Sensor Assembly ESP32 IR Thermal Imaging Camera SpotPear ESP32 C3 Mini RDK X5 PoE Module For Power Over Ethernet/ IEEE 802.3af/at PoE For D-Robotics RDK X5 ESP32 S3 Development Board 1.47 inch LCD Touch Screen 1.47inch Display 172×320 SD AXS5106L JD9853 Raspberry Pi Camera Windows Environment User Guide Raspberry Pi 64MP Camera Raspberry Pi Pico Raspberry Pi 7 inch CAPLCD 1280x800 Capacitive TouchScreen HDMI/Type C Display Monitor For Computer mini PC Industrial Isolated RS485 TO ETH (C) RJ45 Converter Wall/Rail-Mount For Modbus USB camera 5MP IMX335 No Distortion LCD Screen PC U