diff options
| author | ladyada <limor@ladyada.net> | 2019-10-29 22:53:44 -0400 |
|---|---|---|
| committer | ladyada <limor@ladyada.net> | 2019-10-29 22:53:44 -0400 |
| commit | d2b613134dc43851c88101ce735a558e1cf88773 (patch) | |
| tree | 7b21288f6b17fe85d288536f609246012d09d30e | |
| parent | 1e869d1334640d9fc01f872bae965f2f4e28da89 (diff) | |
we should use native rotation, and tweak madctl (not done yet)
| -rw-r--r-- | ports/atmel-samd/boards/pyportal_titano/board.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ports/atmel-samd/boards/pyportal_titano/board.c b/ports/atmel-samd/boards/pyportal_titano/board.c index a99246a15..a53497cde 100644 --- a/ports/atmel-samd/boards/pyportal_titano/board.c +++ b/ports/atmel-samd/boards/pyportal_titano/board.c @@ -74,7 +74,7 @@ uint8_t display_init_sequence[] = { 0x11, 0x1d, 0x23, 0x35, 0x41, 0x4b, 0x4b, 0x42, 0x3A, 0x27, 0x1B, 0x08, 0x09, 0x03, 0x00, 0x01, 0x3a, 1, 0x55, - 0x36, 1, 0x00, + 0x36, 1, 0xA8, 0x11, DELAY, 150/5, // Exit Sleep, then delay 150 ms 0x29, DELAY, 50/5 }; @@ -98,7 +98,7 @@ void board_init(void) { 320, // Height 0, // column start 0, // row start - 270, // rotation + 0, // rotation 16, // Color depth false, // grayscale false, // pixels_in_byte_share_row (unused for depths > 8) |
