fix speed by not rotating

This commit is contained in:
lady ada 2021-11-11 21:39:23 -05:00
parent 0ba47ed115
commit 104af801b7

View File

@ -45,7 +45,7 @@ uint8_t display_init_sequence[] = {
// normal display mode on // normal display mode on
0x13, 0, 0x13, 0,
// display and color format settings // display and color format settings
0x36, 1, 0x08, 0x36, 1, 0x60,
0xB6, 2, 0x0A, 0x82, 0xB6, 2, 0x0A, 0x82,
0x3A, 1 | DELAY, 0x55, 10, 0x3A, 1 | DELAY, 0x55, 10,
// ST7789V frame rate setting // ST7789V frame rate setting
@ -111,9 +111,9 @@ void board_init(void) {
bus, bus,
240, // width (after rotation) 240, // width (after rotation)
135, // height (after rotation) 135, // height (after rotation)
52, // column start 40, // column start
40, // row start 52, // row start
90, // rotation 0, // rotation
16, // color depth 16, // color depth
false, // grayscale false, // grayscale
false, // pixels in a byte share a row. Only valid for depths < 8 false, // pixels in a byte share a row. Only valid for depths < 8