Skip to content

Commit 1c23146

Browse files
committed
add:add support for ee05 and en05 display board.
1 parent 260d4ef commit 1c23146

File tree

3 files changed

+35
-2
lines changed

3 files changed

+35
-2
lines changed

TFT_Drivers/SSD1680_Init.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
CHECK_BUSY();
5757

5858
//set ic offset
59-
setViewport(COL_OFFSET ,ROW_OFFSET ,EPD_WIDTH ,EPD_HEIGHT);
59+
setViewport(0 ,0 ,EPD_WIDTH - COL_OFFSET ,EPD_HEIGHT - ROW_OFFSET);
6060

6161

6262
}

User_Setups/EPaper_Board_Pins_Setups.h

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,15 @@
4343
#define TFT_BUSY 4 // D3
4444
#define TFT_RST 38 // D11
4545
#define TFT_ENABLE 43 //D6
46+
#elif defined(USE_XIAO_EPAPER_DISPLAY_BOARD_EE05)
47+
#define TFT_SCLK D8
48+
#define TFT_MISO -1
49+
#define TFT_MOSI D10
50+
#define TFT_CS 44 // D7
51+
#define TFT_DC 10 // D16
52+
#define TFT_BUSY 4 // D3
53+
#define TFT_RST 38 // D11
54+
#define TFT_ENABLE 43 //D6
4655
#elif defined(USE_XIAO_EPAPER_DISPLAY_BOARD_EN04)
4756
#define TFT_SCLK D8
4857
#define TFT_MISO -1
@@ -52,4 +61,13 @@
5261
#define TFT_BUSY D3 // D3
5362
#define TFT_RST D11 // D11
5463
#define TFT_ENABLE D6 //D6
64+
#elif defined(USE_XIAO_EPAPER_DISPLAY_BOARD_EN05)
65+
#define TFT_SCLK D8
66+
#define TFT_MISO -1
67+
#define TFT_MOSI D10
68+
#define TFT_CS D7 // D7
69+
#define TFT_DC D16 // D16
70+
#define TFT_BUSY D3 // D3
71+
#define TFT_RST D11 // D11
72+
#define TFT_ENABLE D6 //D6
5573
#endif

index.html

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,10 +444,18 @@ <h2 data-lang-key="step2_title">Step 2: (ePaper Only) Select Your Driver Board T
444444
<input type="radio" name="driverBoard" value="monitor_ee04" onchange="generateConfig()">
445445
<span data-lang-key="epaper_option_monitor_ee04">XIAO ePaper Display Board EE04</span>
446446
</label>
447+
<label>
448+
<input type="radio" name="driverBoard" value="monitor_ee05" onchange="generateConfig()">
449+
<span data-lang-key="epaper_option_monitor_ee05">XIAO ePaper Display Board EE05</span>
450+
</label>
447451
<label>
448452
<input type="radio" name="driverBoard" value="monitor_en04" onchange="generateConfig()">
449453
<span data-lang-key="epaper_option_monitor_en04">XIAO ePaper Display Board EN04</span>
450454
</label>
455+
<label>
456+
<input type="radio" name="driverBoard" value="monitor_en05" onchange="generateConfig()">
457+
<span data-lang-key="epaper_option_monitor_en05">XIAO ePaper Display Board EN05</span>
458+
</label>
451459
</div>
452460
</div>
453461

@@ -482,8 +490,9 @@ <h2 data-lang-key="step3_title">Final step: Copy the Generated Code</h2>
482490
epaper_option_breakout: "ePaper Breakout Board for XIAO",
483491
epaper_option_monitor_ee02: "XIAO ePaper Display Board EE02",
484492
epaper_option_monitor_ee03: "XIAO ePaper Display Board EE03",
485-
epaper_option_monitor_ee04: "XIAO ePaper Display Board EE04",
493+
epaper_option_monitor_ee05: "XIAO ePaper Display Board EE05",
486494
epaper_option_monitor_en04: "XIAO ePaper Display Board EN04",
495+
epaper_option_monitor_en05: "XIAO ePaper Display Board EN05",
487496
},
488497
zh: {
489498
title: "Seeed GFX Library - 在线配置生成器 (Online Configuration Generator)",
@@ -502,7 +511,9 @@ <h2 data-lang-key="step3_title">Final step: Copy the Generated Code</h2>
502511
epaper_option_monitor_ee02: "XIAO ePaper Display Board EE02",
503512
epaper_option_monitor_ee03: "XIAO ePaper Display Board EE03",
504513
epaper_option_monitor_ee04: "XIAO ePaper Display Board EE04",
514+
epaper_option_monitor_ee05: "XIAO ePaper Display Board EE05",
505515
epaper_option_monitor_en04: "XIAO ePaper Display Board EN04",
516+
epaper_option_monitor_en05: "XIAO ePaper Display Board EN05",
506517
}
507518
};
508519

@@ -666,8 +677,12 @@ <h2 data-lang-key="step3_title">Final step: Copy the Generated Code</h2>
666677
outputString += '\n#define USE_XIAO_EPAPER_DISPLAY_BOARD_EE03';
667678
} else if (selectedDriver === 'monitor_ee04') {
668679
outputString += '\n#define USE_XIAO_EPAPER_DISPLAY_BOARD_EE04';
680+
} else if (selectedDriver === 'monitor_ee05') {
681+
outputString += '\n#define USE_XIAO_EPAPER_DISPLAY_BOARD_EE05';
669682
} else if (selectedDriver === 'monitor_en04') {
670683
outputString += '\n#define USE_XIAO_EPAPER_DISPLAY_BOARD_EN04';
684+
} else if (selectedDriver === 'monitor_en05') {
685+
outputString += '\n#define USE_XIAO_EPAPER_DISPLAY_BOARD_EN05';
671686
} else if (selectedDriver === 'breakout') {
672687
outputString += '\n#define USE_XIAO_EPAPER_BREAKOUT_BOARD';
673688
}

0 commit comments

Comments
 (0)