Speed up pyportal by writing memory on the same access as our rotation.

crypto-aes
Scott Shawcroft 4 years ago
parent 46fd60c703
commit 53fa65e318
No known key found for this signature in database
GPG Key ID: FD0EDC4B6C53CA59

@ -48,7 +48,7 @@ uint8_t display_init_sequence[] = {
0xc1, 1, 0x10, // Power control SAP[2:0];BT[3:0]
0xc5, 2, 0x3e, 0x28, // VCM control
0xc7, 1, 0x86, // VCM control2
0x36, 1, 0x08, // Memory Access Control
0x36, 1, 0xa8, // Memory Access Control
0x37, 1, 0x00, // Vertical scroll zero
0x3a, 1, 0x55, // COLMOD: Pixel Format Set
0xb1, 2, 0x00, 0x18, // Frame Rate Control (In Normal Mode/Full Colors)
@ -82,7 +82,7 @@ void board_init(void) {
240, // Height
0, // column start
0, // row start
270, // rotation
0, // rotation
16, // Color depth
MIPI_COMMAND_SET_COLUMN_ADDRESS, // Set column command
MIPI_COMMAND_SET_PAGE_ADDRESS, // Set row command

Loading…
Cancel
Save