Skip to content

Commit bb94a79

Browse files
Merge pull request #25 from Y1hsiaochunnn/master
Update ili9881c screen test_apps
2 parents 0a196fc + 038af3c commit bb94a79

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

display/lcd/esp_lcd_ili9881c/idf_component.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: "1.0.2"
1+
version: "1.0.3"
22
targets:
33
- esp32p4
44
description: "Waveshare 7-DSI-TOUCH-A driver"

display/lcd/esp_lcd_ili9881c/test_apps/main/test_esp_lcd_ili9881c.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
#include "esp_lcd_ili9881c.h"
2929

30-
#define TEST_LCD_H_RES (800)
30+
#define TEST_LCD_H_RES (720)
3131
#define TEST_LCD_V_RES (1280)
3232
#define TEST_LCD_BIT_PER_PIXEL (24)
3333
#define TEST_PIN_NUM_LCD_RST (-1)
@@ -97,7 +97,7 @@ static void test_init_lcd(void)
9797
TEST_ESP_OK(esp_lcd_new_panel_io_dbi(mipi_dsi_bus, &dbi_config, &mipi_dbi_io));
9898

9999
ESP_LOGI(TAG, "Install LCD driver of ili9881c");
100-
esp_lcd_dpi_panel_config_t dpi_config = ILI9881C_800_1280_PANEL_60HZ_DPI_CONFIG(TEST_MIPI_DPI_PX_FORMAT);
100+
esp_lcd_dpi_panel_config_t dpi_config = ILI9881C_720_1280_PANEL_60HZ_DPI_CONFIG(TEST_MIPI_DPI_PX_FORMAT);
101101
ili9881c_vendor_config_t vendor_config = {
102102
.mipi_config = {
103103
.dsi_bus = mipi_dsi_bus,

display/lcd/esp_lcd_jd9165/test_apps/main/test_esp_lcd_jd9165.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,12 +289,11 @@ void app_main(void)
289289
printf(" _ | | | | | (_) | | '_ \\___ \\ \r\n");
290290
printf(" | |_| | |_| |\\__, | | (_) |__) |\r\n");
291291
printf(" \\___/|____/ /_/|_|\\___/____/ \r\n");
292+
292293
// unity_run_menu();
293294
ESP_LOGI(TAG, "Initialize LCD device");
294295
test_init_lcd();
295296

296-
// ESP_LOGI(TAG, "Show color bar pattern drawn by hardware");
297-
// TEST_ESP_OK(esp_lcd_dpi_panel_set_pattern(panel_handle, MIPI_DSI_PATTERN_BAR_VERTICAL));
298297
ESP_LOGI(TAG, "Show color bar pattern drawn by hardware");
299298
TEST_ESP_OK(esp_lcd_dpi_panel_set_pattern(panel_handle, MIPI_DSI_PATTERN_BAR_VERTICAL));
300299
}

0 commit comments

Comments
 (0)