File tree 1 file changed +3
-3
lines changed
ports/nrf/boards/clue_nrf52840_express 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ displayio_fourwire_obj_t board_display_obj;
40
40
uint8_t display_init_sequence [] = {
41
41
0x01 , 0 | DELAY , 150 , // SWRESET
42
42
0x11 , 0 | DELAY , 255 , // SLPOUT
43
- 0x36 , 1 , 0x00 , // _MADCTL bottom to top refresh in vsync aligned order.
43
+ 0x36 , 1 , 0b10100000 , // _MADCTL for rotation 0
44
44
0x3a , 1 , 0x55 , // COLMOD - 16bit color
45
45
0x21 , 0 | DELAY , 10 , // _INVON
46
46
0x13 , 0 | DELAY , 10 , // _NORON
@@ -67,9 +67,9 @@ void board_init(void) {
67
67
bus ,
68
68
240 , // Width (after rotation)
69
69
240 , // Height (after rotation)
70
- 0 , // column start
70
+ 80 , // column start
71
71
0 , // row start
72
- 270 , // rotation
72
+ 0 , // rotation
73
73
16 , // Color depth
74
74
false, // Grayscale
75
75
false, // Pixels in a byte share a row. Only used for depth < 8
You can’t perform that action at this time.
0 commit comments