Skip to content

Commit d2b6131

Browse files
committed
we should use native rotation, and tweak madctl (not done yet)
1 parent 1e869d1 commit d2b6131

File tree

1 file changed

+2
-2
lines changed
  • ports/atmel-samd/boards/pyportal_titano

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ uint8_t display_init_sequence[] = {
7474
0x11, 0x1d, 0x23, 0x35, 0x41, 0x4b, 0x4b, 0x42, 0x3A,
7575
0x27, 0x1B, 0x08, 0x09, 0x03, 0x00, 0x01,
7676
0x3a, 1, 0x55,
77-
0x36, 1, 0x00,
77+
0x36, 1, 0xA8,
7878
0x11, DELAY, 150/5, // Exit Sleep, then delay 150 ms
7979
0x29, DELAY, 50/5
8080
};
@@ -98,7 +98,7 @@ void board_init(void) {
9898
320, // Height
9999
0, // column start
100100
0, // row start
101-
270, // rotation
101+
0, // rotation
102102
16, // Color depth
103103
false, // grayscale
104104
false, // pixels_in_byte_share_row (unused for depths > 8)

0 commit comments

Comments
 (0)