• 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: ESP32-S3 DeepSeek AI Box Robot Development Board N16R8 Toy Doll Option 0.71 inch Electronic Eyes Industrial RS232 to RS485 RS485 Interface Raspberry Pi 5 PCIe TO Gigabit ETH USB3.2 HAT+ USB HUB Raspberry Pi Pico RP2040 C Environment Window Raspberry Pi RTC SpotPear ESP32 C3 SIM7600G H Mini PCIe SIMCom Original 4G LTE Cat-4 Module Global Coverage GNSS ESP32-S3 Development Board 1.85 inch Round LCD N16R8 DeepSeek AI Voice Chat Robot BOX Magnetic-charging Raspberry Pi 10.1 inch LCD HDM Display Capacitive TouchScreen 10.1EP-CAPLCD 1920x1200 For Jetson Nano/mini Computer PC Computer GPUCPU Monitor Screen Day and IR Night Vision Raspberry Pi WatchDog Industrial ESP32 S3 5 inch LCD Development Board 800x480 TouchScreen Display TVBOX LVGL HMI Sensor CAN RS485 Raspberry Pi 5 PD Activation Module 树莓派Pico 2 RP2350B-Plus-W开发板WIFI官方Radio Module 2 3.5 inch LCD Computer CPU GPU RAM Monitor PC USB Secondary Display Screen USB to JTAG