Skip to content

Commit

Permalink
Update H0175Y003AM screen instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
Llgok committed Nov 25, 2024
1 parent e721deb commit 0b0e403
Show file tree
Hide file tree
Showing 15 changed files with 40 additions and 32 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,16 +104,16 @@ T-Display-S3-AMOLED-1.43 is a development board featuring a high-definition AMOL
| [Deep Sleep PCF8563 Scheduled Wake Up](./examples/Deep_Sleep_PCF8563_Scheduled_Wake_Up) | `[Platformio IDE][espressif32-v6.5.0]`<br />`[Arduino IDE][esp32_v2.0.14]` | | |
| [Deep Sleep PCF8563 Timer Wake Up](./examples/Deep_Sleep_PCF8563_Timer_Wake_Up) | `[Platformio IDE][espressif32-v6.5.0]`<br />`[Arduino IDE][esp32_v2.0.14]` | | |
| [SD](./examples/SD) | `[Platformio IDE][espressif32-v6.5.0]`<br />`[Arduino IDE][esp32_v2.0.14]` | | |
| [Original_Test_H0175Y003AMV0](./examples/Original_Test_H0175Y003AMV0) | `[Platformio IDE][espressif32-v6.5.0]`<br />`[Arduino IDE][esp32_v2.0.14]` | H0175Y003AMV0 new screen adaptation | |
| [Deep_Sleep_Wake_Up_H0175Y003AMV0](./examples/Deep_Sleep_Wake_Up_H0175Y003AMV0) | `[Platformio IDE][espressif32-v6.5.0]`<br />`[Arduino IDE][esp32_v2.0.14]` | H0175Y003AMV0 new screen adaptation | |
| [Light_Sleep_Wake_Up_H0175Y003AMV0](./examples/Light_Sleep_Wake_Up_H0175Y003AMV0) | `[Platformio IDE][espressif32-v6.5.0]`<br />`[Arduino IDE][esp32_v2.0.14]` | H0175Y003AMV0 new screen adaptation | |
| [Original_Test_H0175Y003AM](./examples/Original_Test_H0175Y003AM) | `[Platformio IDE][espressif32-v6.5.0]`<br />`[Arduino IDE][esp32_v2.0.14]` | H0175Y003AM new screen adaptation | |
| [Deep_Sleep_Wake_Up_H0175Y003AM](./examples/Deep_Sleep_Wake_Up_H0175Y003AM) | `[Platformio IDE][espressif32-v6.5.0]`<br />`[Arduino IDE][esp32_v2.0.14]` | H0175Y003AM new screen adaptation | |
| [Light_Sleep_Wake_Up_H0175Y003AM](./examples/Light_Sleep_Wake_Up_H0175Y003AM) | `[Platformio IDE][espressif32-v6.5.0]`<br />`[Arduino IDE][esp32_v2.0.14]` | H0175Y003AM new screen adaptation | |

| Firmware | Description | Picture |
| ------ | ------ | ------ |
| [Original_Test](./firmware/[T-Display-S3-AMOLED-1.43_V1.0][Original_Test]_firmware_V1.0.0.bin) | Original | |
| [Light_Sleep](./firmware/[T-Display-S3-AMOLED-1.43_V1.0][Light_Sleep_Wake_Up]_firmware_V1.0.0.bin) | Original | |
| [Deep_Sleep](./firmware/[T-Display-S3-AMOLED-1.43_V1.0][Deep_Sleep_Wake_Up]_firmware_V1.0.0.bin) | Original | |
| [Original_Test_H0175Y003AMV0](./firmware/[T-Display-S3-AMOLED-1.43_V1.0][Original_Test_H0175Y003AMV0]_firmware_V1.0.0.bin) | Original | |
| [Original_Test_H0175Y003AM](./firmware/[T-Display-S3-AMOLED-1.43_V1.0][Original_Test_H0175Y003AM]_firmware_V1.0.0.bin) | Original | |

### PlatformIO
1. Install[VisualStudioCode](https://code.visualstudio.com/Download),Choose installation based on your system type.
Expand Down
8 changes: 4 additions & 4 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,16 +103,16 @@ T-Display-S3-AMOLED-1.43是一款基于ESP32S3开发的板载高清AMOLED屏幕
| [Deep Sleep PCF8563 Scheduled Wake Up](./examples/Deep_Sleep_PCF8563_Scheduled_Wake_Up) | `[Platformio IDE][espressif32-v6.5.0]`<br />`[Arduino IDE][esp32_v2.0.14]` | | |
| [Deep Sleep PCF8563 Timer Wake Up](./examples/Deep_Sleep_PCF8563_Timer_Wake_Up) | `[Platformio IDE][espressif32-v6.5.0]`<br />`[Arduino IDE][esp32_v2.0.14]` | | |
| [SD](./examples/SD) | `[Platformio IDE][espressif32-v6.5.0]`<br />`[Arduino IDE][esp32_v2.0.14]` | | |
| [Original_Test_H0175Y003AMV0](./examples/Original_Test_H0175Y003AMV0) | `[Platformio IDE][espressif32-v6.5.0]`<br />`[Arduino IDE][esp32_v2.0.14]` | H0175Y003AMV0 new screen adaptation | |
| [Deep_Sleep_Wake_Up_H0175Y003AMV0](./examples/Deep_Sleep_Wake_Up_H0175Y003AMV0) | `[Platformio IDE][espressif32-v6.5.0]`<br />`[Arduino IDE][esp32_v2.0.14]` | H0175Y003AMV0 new screen adaptation | |
| [Light_Sleep_Wake_Up_H0175Y003AMV0](./examples/Light_Sleep_Wake_Up_H0175Y003AMV0) | `[Platformio IDE][espressif32-v6.5.0]`<br />`[Arduino IDE][esp32_v2.0.14]` | H0175Y003AMV0 new screen adaptation | |
| [Original_Test_H0175Y003AM](./examples/Original_Test_H0175Y003AM) | `[Platformio IDE][espressif32-v6.5.0]`<br />`[Arduino IDE][esp32_v2.0.14]` | H0175Y003AM new screen adaptation | |
| [Deep_Sleep_Wake_Up_H0175Y003AM](./examples/Deep_Sleep_Wake_Up_H0175Y003AM) | `[Platformio IDE][espressif32-v6.5.0]`<br />`[Arduino IDE][esp32_v2.0.14]` | H0175Y003AM new screen adaptation | |
| [Light_Sleep_Wake_Up_H0175Y003AM](./examples/Light_Sleep_Wake_Up_H0175Y003AM) | `[Platformio IDE][espressif32-v6.5.0]`<br />`[Arduino IDE][esp32_v2.0.14]` | H0175Y003AM new screen adaptation | |

| Firmware | Description | Picture |
| ------ | ------ | ------ |
| [Original_Test](./firmware/[T-Display-S3-AMOLED-1.43_V1.0][Original_Test]_firmware_V1.0.0.bin) | Original | |
| [Light_Sleep](./firmware/[T-Display-S3-AMOLED-1.43_V1.0][Light_Sleep_Wake_Up]_firmware_V1.0.0.bin) | Original | |
| [Deep_Sleep](./firmware/[T-Display-S3-AMOLED-1.43_V1.0][Deep_Sleep_Wake_Up]_firmware_V1.0.0.bin) | Original | |
| [Original_Test_H0175Y003AMV0](./firmware/[T-Display-S3-AMOLED-1.43_V1.0][Original_Test_H0175Y003AMV0]_firmware_V1.0.0.bin) | Original | |
| [Original_Test_H0175Y003AM](./firmware/[T-Display-S3-AMOLED-1.43_V1.0][Original_Test_H0175Y003AM]_firmware_V1.0.0.bin) | Original | |

### PlatformIO
1. 安装[VisualStudioCode](https://code.visualstudio.com/Download),根据你的系统类型选择安装。
Expand Down
4 changes: 2 additions & 2 deletions debug/examples/GFX_CST9217_Image/GFX_CST9217_Image.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ Arduino_DataBus *bus = new Arduino_ESP32QSPI(
LCD_CS /* CS */, LCD_SCLK /* SCK */, LCD_SDIO0 /* SDIO0 */, LCD_SDIO1 /* SDIO1 */,
LCD_SDIO2 /* SDIO2 */, LCD_SDIO3 /* SDIO3 */);

// DO0143FMST02
// DO0143FAT01
// Arduino_GFX *gfx = new Arduino_SH8601(bus, LCD_RST /* RST */,
// 0 /* rotation */, false /* IPS */, LCD_WIDTH, LCD_HEIGHT);

// H0175Y003AMV0
// H0175Y003AM
Arduino_GFX *gfx = new Arduino_CO5300(bus, LCD_RST /* RST */,
0 /* rotation */, false /* IPS */, LCD_WIDTH, LCD_HEIGHT,
6 /* col offset 1 */, 0 /* row offset 1 */, 0 /* col_offset2 */, 0 /* row_offset2 */);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ Arduino_DataBus *bus = new Arduino_ESP32QSPI(
LCD_CS /* CS */, LCD_SCLK /* SCK */, LCD_SDIO0 /* SDIO0 */, LCD_SDIO1 /* SDIO1 */,
LCD_SDIO2 /* SDIO2 */, LCD_SDIO3 /* SDIO3 */);

// DO0143FMST02
// DO0143FAT01
// Arduino_GFX *gfx = new Arduino_SH8601(bus, LCD_RST /* RST */,
// 0 /* rotation */, false /* IPS */, LCD_WIDTH, LCD_HEIGHT);

// H0175Y003AMV0
// H0175Y003AM
Arduino_GFX *gfx = new Arduino_CO5300(bus, LCD_RST /* RST */,
0 /* rotation */, false /* IPS */, LCD_WIDTH, LCD_HEIGHT,
6 /* col offset 1 */, 0 /* row offset 1 */, 0 /* col_offset2 */, 0 /* row_offset2 */);
Expand Down
4 changes: 2 additions & 2 deletions debug/examples/GFX_PDQ/GFX_PDQ.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ Arduino_DataBus *bus = new Arduino_ESP32QSPI(
LCD_CS /* CS */, LCD_SCLK /* SCK */, LCD_SDIO0 /* SDIO0 */, LCD_SDIO1 /* SDIO1 */,
LCD_SDIO2 /* SDIO2 */, LCD_SDIO3 /* SDIO3 */);

// DO0143FMST02
// DO0143FAT01
// Arduino_GFX *gfx = new Arduino_SH8601(bus, LCD_RST /* RST */,
// 0 /* rotation */, false /* IPS */, LCD_WIDTH, LCD_HEIGHT);

// H0175Y003AMV0
// H0175Y003AM
Arduino_GFX *gfx = new Arduino_CO5300(bus, LCD_RST /* RST */,
0 /* rotation */, false /* IPS */, LCD_WIDTH, LCD_HEIGHT,
6 /* col offset 1 */, 0 /* row offset 1 */, 0 /* col_offset2 */, 0 /* row_offset2 */);
Expand Down
4 changes: 2 additions & 2 deletions debug/examples/Lvgl_benchmark/Lvgl_benchmark.ino
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ Arduino_DataBus *bus = new Arduino_ESP32QSPI(
LCD_CS /* CS */, LCD_SCLK /* SCK */, LCD_SDIO0 /* SDIO0 */, LCD_SDIO1 /* SDIO1 */,
LCD_SDIO2 /* SDIO2 */, LCD_SDIO3 /* SDIO3 */);

// DO0143FMST02
// DO0143FAT01
// Arduino_GFX *gfx = new Arduino_SH8601(bus, LCD_RST /* RST */,
// 0 /* rotation */, false /* IPS */, LCD_WIDTH, LCD_HEIGHT);

// H0175Y003AMV0
// H0175Y003AM
Arduino_GFX *gfx = new Arduino_CO5300(bus, LCD_RST /* RST */,
0 /* rotation */, false /* IPS */, LCD_WIDTH, LCD_HEIGHT,
6 /* col offset 1 */, 0 /* row offset 1 */, 0 /* col_offset2 */, 0 /* row_offset2 */);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ Arduino_DataBus *bus = new Arduino_ESP32QSPI(
LCD_CS /* CS */, LCD_SCLK /* SCK */, LCD_SDIO0 /* SDIO0 */, LCD_SDIO1 /* SDIO1 */,
LCD_SDIO2 /* SDIO2 */, LCD_SDIO3 /* SDIO3 */);

// DO0143FMST02
// DO0143FAT01
// Arduino_GFX *gfx = new Arduino_SH8601(bus, LCD_RST /* RST */,
// 0 /* rotation */, false /* IPS */, LCD_WIDTH, LCD_HEIGHT);

// H0175Y003AMV0
// H0175Y003AM
Arduino_GFX *gfx = new Arduino_CO5300(bus, LCD_RST /* RST */,
0 /* rotation */, false /* IPS */, LCD_WIDTH, LCD_HEIGHT,
6 /* col offset 1 */, 0 /* row offset 1 */, 0 /* col_offset2 */, 0 /* row_offset2 */);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @Description: 出厂测试程序
* @Author: LILYGO_L
* @Date: 2023-09-06 10:58:19
* @LastEditTime: 2024-11-21 17:41:41
* @LastEditTime: 2024-11-25 10:38:33
* @License: GPL 3.0
*/

Expand Down Expand Up @@ -50,7 +50,7 @@ Arduino_DataBus *bus = new Arduino_ESP32QSPI(
LCD_CS /* CS */, LCD_SCLK /* SCK */, LCD_SDIO0 /* SDIO0 */, LCD_SDIO1 /* SDIO1 */,
LCD_SDIO2 /* SDIO2 */, LCD_SDIO3 /* SDIO3 */);

// H0175Y003AMV0
// H0175Y003AM
Arduino_GFX *gfx = new Arduino_CO5300(bus, LCD_RST /* RST */,
0 /* rotation */, false /* IPS */, LCD_WIDTH, LCD_HEIGHT,
6 /* col offset 1 */, 0 /* row offset 1 */, 0 /* col_offset2 */, 0 /* row_offset2 */);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Arduino_DataBus *bus = new Arduino_ESP32QSPI(
LCD_CS /* CS */, LCD_SCLK /* SCK */, LCD_SDIO0 /* SDIO0 */, LCD_SDIO1 /* SDIO1 */,
LCD_SDIO2 /* SDIO2 */, LCD_SDIO3 /* SDIO3 */);

// H0175Y003AMV0
// H0175Y003AM
Arduino_GFX *gfx = new Arduino_CO5300(bus, LCD_RST /* RST */,
0 /* rotation */, false /* IPS */, LCD_WIDTH, LCD_HEIGHT,
6 /* col offset 1 */, 0 /* row offset 1 */, 0 /* col_offset2 */, 0 /* row_offset2 */);
Expand Down
Binary file not shown.
12 changes: 8 additions & 4 deletions libraries/Arduino_GFX-1.3.7/src/Arduino_TFT.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,18 @@ void Arduino_TFT::startWrite()

void Arduino_TFT::writePixelPreclipped(int16_t x, int16_t y, uint16_t color)
{
// H0175Y003AMV0
#ifdef H0175Y003AM
// H0175Y003AM
// CO5300最小开窗为2x2
writeAddrWindow(x, y, 2, 2);
_bus->writeRepeat(color, 4);
#endif

// DO0143FMST02
// writeAddrWindow(x, y, 1, 1);
// _bus->writeRepeat(color, 1);
#ifdef DO0143FAT01
// DO0143FAT01
writeAddrWindow(x, y, 1, 1);
_bus->writeRepeat(color, 1);
#endif
}

void Arduino_TFT::writeRepeat(uint16_t color, uint32_t len)
Expand Down
6 changes: 5 additions & 1 deletion libraries/Mylibrary/pin_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,14 @@
* @Description: None
* @Author: LILYGO_L
* @Date: 2023-06-05 13:01:59
* @LastEditTime: 2024-11-20 15:06:17
* @LastEditTime: 2024-11-25 11:01:33
*/
#pragma once

//这里选择你使用的屏幕
// #define DO0143FAT01 //1.43 inches
#define H0175Y003AM //1.75 inches

#define LCD_SDIO0 11
#define LCD_SDIO1 13
#define LCD_SDIO2 14
Expand Down
12 changes: 6 additions & 6 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ src_dir = examples/${platformio.default_envs}
; default_envs = Deep_Sleep_PCF8563_Timer_Wake_Up
; default_envs = PCF8563_Timer_INT
; default_envs = PCF8563_Scheduled_INT
; default_envs = Deep_Sleep_Wake_Up_H0175Y003AMV0
; default_envs = Light_Sleep_Wake_Up_H0175Y003AMV0
default_envs = Original_Test_H0175Y003AMV0
; default_envs = Deep_Sleep_Wake_Up_H0175Y003AM
; default_envs = Light_Sleep_Wake_Up_H0175Y003AM
default_envs = Original_Test_H0175Y003AM

; src_dir = debug/examples/${platformio.default_envs}
; default_envs = ChipScan
Expand Down Expand Up @@ -85,9 +85,9 @@ default_envs = Original_Test_H0175Y003AMV0
[env:Deep_Sleep_PCF8563_Timer_Wake_Up]
[env:PCF8563_Timer_INT]
[env:PCF8563_Scheduled_INT]
[env:Deep_Sleep_Wake_Up_H0175Y003AMV0]
[env:Light_Sleep_Wake_Up_H0175Y003AMV0]
[env:Original_Test_H0175Y003AMV0]
[env:Deep_Sleep_Wake_Up_H0175Y003AM]
[env:Light_Sleep_Wake_Up_H0175Y003AM]
[env:Original_Test_H0175Y003AM]

[env:ChipScan]
[env:SD_MJPEG]
Expand Down

0 comments on commit 0b0e403

Please sign in to comment.