• 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: Milk-V Duo RJ45 Tutorial ESP32-S3 USB Dongle Raspberry Pi Pico 2 RP2350 Pico2 ARM Cortex-M33 And RISC-V Hazard3 520KByte 4MByte QSPI Flash SpotPear DDSM115 Direct Drive Servo Motor All-In-One Design Hub RS485 Motor Raspberry Pi DSI Scr Spotpear PI5 NVIDIA Jetson TX2 NX Module Raspberry Pi Camera Module 3 Sensor Assembly IMX708 Official Original 11.9MP Camera Raspberry Pi 5 Official Red-White Case Sipeed SLogic 4IN1 USB Logic Analyzer 80M / DAPLink / CKLink Debugger Tool / UART Module RDK X5 PoE Module For Power Over Ethernet/ IEEE 802.3af/at PoE For D-Robotics RDK X5 Code ESP32 C6 Development Board 1.47 inch LCD Display Screen ST7789 For Arduino WiFi6/LVGL/HMI Onborad SD-Port/RGB-LED Raspberry Pi Raspberry Pi Touch Display 2 Official Original Capacitive TouchScreen 7 inch LCD TFT 720x1280 Servo Raspberry Pi 5 USB Audio Raspberry Pi 5 PCIe TO Gigabit RJ45 ETH Adapter Board (C) Driver-Free RTL8111H For Pi5