Skip to content

Commit ebd4542

Browse files
authored
Merge pull request #10519 from tannewt/quad_epd
Add support for quad color epaper
2 parents 6f87f10 + 27f34cb commit ebd4542

File tree

18 files changed

+69
-19
lines changed

18 files changed

+69
-19
lines changed

ports/atmel-samd/boards/openbook_m4/board.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ void board_init(void) {
7676
NO_COMMAND, // write_color_ram_command (can add this for grayscale eventually)
7777
false, // color_bits_inverted
7878
0x000000, // highlight_color
79+
0x000000, // highlight_color2
7980
refresh_sequence, // refresh_display_sequence
8081
sizeof(refresh_sequence),
8182
40, // refresh_time

ports/espressif/boards/adafruit_magtag_2.9_grayscale/board.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,7 @@ void board_init(void) {
239239
0x26, // write_color_ram_command
240240
false, // color_bits_inverted
241241
0x000000, // highlight_color
242+
0x000000, // highlight_color2
242243
ssd1680_display_refresh_sequence, sizeof(ssd1680_display_refresh_sequence),
243244
1.0, // refresh_time
244245
&pin_GPIO5, // busy_pin
@@ -273,6 +274,7 @@ void board_init(void) {
273274
0x13, // write_color_ram_command
274275
false, // color_bits_inverted
275276
0x000000, // highlight_color
277+
0x000000, // highlight_color2
276278
il0373_display_refresh_sequence, sizeof(il0373_display_refresh_sequence),
277279
1.0, // refresh_time
278280
&pin_GPIO5, // busy_pin

ports/espressif/boards/elecrow_crowpanel_4_2_epaper/board.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ void board_init(void) {
8888
0x26, // write_color_ram_command
8989
false, // color_bits_inverted
9090
0x000000, // highlight_color
91+
0x000000, // highlight_color2
9192
refresh_sequence, sizeof(refresh_sequence), // refresh_display_command
9293
1.0, // refresh_time
9394
&pin_GPIO48, // busy_pin

ports/espressif/boards/heltec_vision_master_e290/board.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ void board_init(void) {
8686
0x26, // write_color_ram_command
8787
false, // color_bits_inverted
8888
0xFF0000, // highlight_color
89+
0x000000, // highlight_color2
8990
refresh_sequence, sizeof(refresh_sequence), // refresh_display_command
9091
1.0, // refresh_time
9192
&pin_GPIO6, // busy_pin

ports/espressif/boards/heltec_wireless_paper/board.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ void board_init(void) {
126126
0x10, // write_color_ram_command
127127
false, // color_bits_inverted
128128
0x000000, // highlight_color
129+
0x000000, // highlight_color2
129130
refresh_sequence, sizeof(refresh_sequence), // refresh_display_command
130131
1.0, // refresh_time
131132
&pin_GPIO7, // busy_pin

ports/espressif/boards/sqfmi_watchy/board.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ void board_init(void) {
182182
0x26, // write_color_ram_command
183183
false, // color_bits_inverted
184184
0x000000, // highlight_color
185+
0x000000, // highlight_color2
185186
refresh_sequence, sizeof(refresh_sequence),
186187
(double)1.0, // refresh_time
187188
&pin_GPIO19, // busy_pin

ports/raspberrypi/boards/bradanlanestudio_explorer_rp2040/board.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,7 @@ void board_init(void) {
273273
SSD_WRITE_RAM_RED, // write_color_ram_command
274274
false, // color_bits_inverted
275275
0xFF0000, // highlight_color (RED for tri-color display)
276+
0x000000, // highlight_color2
276277
_refresh_sequence_ssd1681, sizeof(_refresh_sequence_ssd1681), // refresh_display_command
277278
refresh_time, // refresh_time
278279
&pin_GPIO9, // DEFAULT_SPI_BUS_BUSY, // busy_pin
@@ -307,6 +308,7 @@ void board_init(void) {
307308
NO_COMMAND, // write_color_ram_command
308309
false, // color_bits_inverted
309310
0x000000, // highlight_color (RED for tri-color display)
311+
0x000000, // highlight_color2
310312
_refresh_sequence_ssd1608, sizeof(_refresh_sequence_ssd1608), // refresh_display_command
311313
refresh_time, // refresh_time
312314
&pin_GPIO9, // DEFAULT_SPI_BUS_BUSY, // busy_pin

ports/raspberrypi/boards/pimoroni_badger2040/board.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,7 @@ void board_init(void) {
295295
DTM1, // write_color_ram_command
296296
false, // color_bits_inverted
297297
0x000000, // highlight_color
298+
0x000000, // highlight_color2
298299
refresh_sequence, sizeof(refresh_sequence), // refresh_display_command
299300
1.0, // refresh_time
300301
&pin_GPIO26, // busy_pin

ports/raspberrypi/boards/pimoroni_badger2040w/board.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,7 @@ void board_init(void) {
295295
DTM1, // write_color_ram_command
296296
false, // color_bits_inverted
297297
0x000000, // highlight_color
298+
0x000000, // highlight_color2
298299
refresh_sequence, sizeof(refresh_sequence), // refresh_display_command
299300
1.0, // refresh_time
300301
&pin_GPIO26, // busy_pin

ports/raspberrypi/boards/pimoroni_inky_frame_5_7/board.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ void board_init(void) {
8989
NO_COMMAND, // write_color_ram_command
9090
false, // color_bits_inverted
9191
0x000000, // highlight_color
92+
0x000000, // highlight_color2
9293
refresh_sequence, sizeof(refresh_sequence),
9394
28.0, // refresh_time
9495
NULL, // busy_pin

0 commit comments

Comments
 (0)