Skip to content

Commit 4165a3c

Browse files
authored
change MADCTL 0x68 to 0x60 from BGR back to RGB
The initial setting was RGB and is used for the T-Display ESP32 as well.
1 parent c7531f7 commit 4165a3c

File tree

1 file changed

+1
-1
lines changed
  • ports/raspberrypi/boards/lilygo_t_display_rp2040

1 file changed

+1
-1
lines changed

ports/raspberrypi/boards/lilygo_t_display_rp2040/board.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ uint8_t display_init_sequence[] = {
4242
// normal display mode on
4343
0x13, 0,
4444
// display and color format settings
45-
0x36, 1, 0x68,
45+
0x36, 1, 0x60,
4646
0xB6, 2, 0x0A, 0x82,
4747
0x3A, 1 | DELAY, 0x55, 10,
4848
// ST7789V frame rate setting

0 commit comments

Comments
 (0)