1 parent 6a37f4f commit ea2c068Copy full SHA for ea2c068
1 file changed
ports/atmel-samd/boards/pybadge_airlift/board.c
@@ -41,12 +41,10 @@ uint8_t display_init_sequence[] = {
41
0x01, 0 | DELAY, 150, // SWRESET
42
0x11, 0 | DELAY, 255, // SLPOUT
43
0x36, 1, 0x08, // _MADCTL bottom to top refresh in vsync aligned order.
44
- 0x3a, 2, 0x55, 10, // COLMOD - 16bit color
45
- 0x2a, 3, 0x00, 240 >> 8, 240 & 0xFF, // _CASET XSTART = 0, XEND = 240
46
- 0x2b, 3, 0x00, 320 >> 8, 320 & 0xFF, // _RASET YSTART = 0, YEND = 320
47
- 0x21, 0 | DELAY, 10, // _INVON
48
- 0x13, 0 | DELAY, 10, // _NORON
49
- 0x29, 0 | DELAY, 255, // _DISPON
+ 0x3a, 1, 0x55, // COLMOD - 16bit color
+ 0x21, 0 | DELAY, 10, // _INVON
+ 0x13, 0 | DELAY, 10, // _NORON
+ 0x29, 0 | DELAY, 255, // _DISPON
50
};
51
52
void board_init(void) {
0 commit comments