• sales

    +86-0755-88291180

1.8inch TFT LCD User Guide

1.8inch TFT LCD 128X160 (st7735S)

The file corresponding to the upper script package is:
\script\demo\ui\color_standard_spi_st7735.lua Used with SPI bus
\script\demo\ui\color_lcd_spi_st7735.lua Used with LCD bus

Select ST7735 driver in lcd.lua


Color_standard_spi_st7735.lua is the screen parameter configuration file.


FAQ

White edges appear on the screen, which is mainly caused by different batches of screens, such as V1.1 version of M_TFT_LCD_128X160_8P module, and the screen driver is actually ST7735S.


1. Development and presentation using Hezhou communication module and lua's demo are shown as follows:


Modify the axis offset parameter in the color_lcd_spi_st7735.lua script file and set the offset to 0, as shown in the following figure.


2. A white edge appears when the demo of STM32 is burned in, as shown in the figure below:


Modify the LCD_Address_Set function of lcd_init.c so that x1, y1, x2 and y2 can be displayed normally without adding or subtracting any numbers, as shown below:

Display effect after modification:


TAG: Raspberry Pi WatchDog LuckFox Pico EyeLink-RC-S1 Industrial Edition 5.5 inch Touchscreen Camera R1M Card Recording Flight Controller FPV Drone ground station image transmission remote wide dynamic range Raspberry Pi 5/4B easy Adapter Micro HDMI to HDMI 4K All Ports To Pi's USB Side Arduino Thermal imaging camera Raspberry Pi 5 Serial Server Rockchip Raspberry Pi 5 PCIe to SSD Raspberry Pi Monitor Official Original DisplayScreen 15.6 inch LCD Full HD 1920x1080 15.6inch SC servo driver Raspberry Pi 5 MPS2280 POE Raspberry Pi 5 PCIe to M.2 NVMe SSD Adapter Board HAT Pi5 2280/2242/2230 Servo MK20 Computer AI Deepseek Mechanical Voice Keyboard Linux 20x0.85inch LCD Screen Customize keys + 2.8 inch Secondary Display Sensor Development Board ESP32 C3 ST7789 Raspberry Pi 5 PCIe to 4-CH M.2 NVMe 4-Ports SSD Board HAT Pi5 Four-Times ESP32-S3 1.28