Skip to content

Commit 7c2f85b

Browse files
committed
updated sequences
1 parent 72754e4 commit 7c2f85b

File tree

1 file changed

+14
-14
lines changed
  • ports/espressif/boards/elecrow_crowpanel_4_2_epaper

1 file changed

+14
-14
lines changed

ports/espressif/boards/elecrow_crowpanel_4_2_epaper/board.c

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -31,21 +31,21 @@ uint8_t start_sequence[] = {
3131
0x3c, 0x01, 0x00, // Border color
3232
0x2c, 0x01, 0x3c, // VCOM Register, 0x3c = -1.5v? ✅
3333
0x22, 0x01, 0xc7, // Display update sequence ✅
34-
0x04, 0x03, 0x07, 0xac, 0x32, // Set voltage of VSH and VSL (yellow)
34+
// 0x04, 0x03, 0x07, 0xac, 0x32, // Set voltage of VSH and VSL (yellow)
3535
// LUT (yellow)
36-
0x32, 0x46,
37-
0xfa, 0x94, 0x8c, 0xc0, 0xd0, 0x00, 0x00,
38-
0xfa, 0x94, 0x2c, 0x80, 0xe0, 0x00, 0x00,
39-
0xfa, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
40-
0xfa, 0x94, 0xf8, 0x80, 0x50, 0x00, 0xcc,
41-
0xbf, 0x58, 0xfc, 0x80, 0xd0, 0x00, 0x11,
42-
0x40, 0x10, 0x40, 0x10, 0x08,
43-
0x08, 0x10, 0x04, 0x04, 0x10,
44-
0x08, 0x08, 0x03, 0x08, 0x20,
45-
0x08, 0x04, 0x00, 0x00, 0x10,
46-
0x10, 0x08, 0x08, 0x00, 0x20,
47-
0x00, 0x00, 0x00, 0x00, 0x00,
48-
0x00, 0x00, 0x00, 0x00, 0x00,
36+
// 0x32, 0x46,
37+
// 0xfa, 0x94, 0x8c, 0xc0, 0xd0, 0x00, 0x00,
38+
// 0xfa, 0x94, 0x2c, 0x80, 0xe0, 0x00, 0x00,
39+
// 0xfa, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
40+
// 0xfa, 0x94, 0xf8, 0x80, 0x50, 0x00, 0xcc,
41+
// 0xbf, 0x58, 0xfc, 0x80, 0xd0, 0x00, 0x11,
42+
// 0x40, 0x10, 0x40, 0x10, 0x08,
43+
// 0x08, 0x10, 0x04, 0x04, 0x10,
44+
// 0x08, 0x08, 0x03, 0x08, 0x20,
45+
// 0x08, 0x04, 0x00, 0x00, 0x10,
46+
// 0x10, 0x08, 0x08, 0x00, 0x20,
47+
// 0x00, 0x00, 0x00, 0x00, 0x00,
48+
// 0x00, 0x00, 0x00, 0x00, 0x00,
4949
0x11, 0x01, 0x03, // Data entry mode setting 0x03 = X/Y increment ✅
5050
// self._send_command(0x44, [0x00, (self.cols // 8) - 1]) # Set RAM X Start/End
5151
0x44, 0x02, 0x00, 0x31, // Set RAM X Start/End

0 commit comments

Comments
 (0)