Skip to content

Commit a367be5

Browse files
committed
Merge branch 'fix/lcd_rgb_doc' into 'master'
fix(lcd): Fixed the RGB documentation and modified the ST7701 test case. See merge request ae_group/esp-iot-solution!1046
2 parents 8624656 + 2ea3991 commit a367be5

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

components/display/lcd/esp_lcd_st7701/test_apps/main/test_esp_lcd_st7701_rgb.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@
2020
#include "esp_lcd_panel_io.h"
2121
#include "esp_lcd_panel_io_additions.h"
2222
#include "esp_io_expander_tca9554.h"
23-
#include "esp_ldo_regulator.h"
24-
#include "esp_dma_utils.h"
2523
#include "unity.h"
2624
#include "unity_test_runner.h"
2725
#include "unity_test_utils_memory.h"

docs/en/display/lcd/rgb_lcd.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ Here is the code explanation for creating a 3-wire SPI interface device using th
182182
183183
**For LCDs that only use the RGB interface**, as they do not support the transmission of commands and parameters, there is no need to initialize an interface device. Please refer directly to :ref:`Initializing the LCD device <rgb_initialize_lcd>`.
184184

185-
**For LCDs using both the 3-wire SPI and RGB interface**, only the creation of the ``3-wire SPI`` interface device is required. Since ESP's SPI peripheral does not directly support the transmission of 9-bit data, and this interface is only used for transmitting commands and parameters with a small data volume, and the bandwidth and timing requirements for data transmission are not high, GPIO or IO expander chip pins (such as `TCA9554 <https://components.espressif.com/components/espressif/esp_io_expander_tca9554>`_) can be used to simulate the SPI protocol through software. The following is an example code using the `esp_lcd_panel_io_additions <https://components.espressif.com/components/espressif/esp_lcd_panel_io_additions>`_ component to create a ``3-wire SPI`` interface device:
185+
**For LCDs using both the 3-wire SPI and RGB interface**, only the creation of the ``3-wire SPI`` interface device is required. Since ESP's SPI peripheral does not directly support the transmission of 9-bit data, and this interface is only used for transmitting commands and parameters with a small data volume, and the bandwidth and timing requirements for data transmission are not high, GPIO or IO expander chip pins (such as `TCA9554 <https://components.espressif.com/components/espressif/esp_io_expander_tca9554>`_) can be used to simulate the SPI protocol through software.
186186

187187
Creating the interface device provides a handle of data type ``esp_lcd_panel_io_handle_t``. Subsequently, you can use ``esp_lcd_panel_io_tx_param()`` to send **commands** to the LCD driver IC.
188188

0 commit comments

Comments
 (0)