File tree Expand file tree Collapse file tree
ports/nrf/boards/ohs2020_badge Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ displayio_fourwire_obj_t board_display_obj;
4040uint8_t display_init_sequence [] = {
4141 0x01 , 0 | DELAY , 150 , // SWRESET
4242 0x11 , 0 | DELAY , 255 , // SLPOUT
43- 0x36 , 1 , 0x00 , // _MADCTL bottom to top refresh in vsync aligned order.
43+ 0x36 , 1 , 0b10100000 , // _MADCTL bottom to top refresh in vsync aligned order.
4444 0x3a , 1 , 0x55 , // COLMOD - 16bit color
4545 0x21 , 0 | DELAY , 10 , // _INVON
4646 0x13 , 0 | DELAY , 10 , // _NORON
@@ -67,9 +67,9 @@ void board_init(void) {
6767 bus ,
6868 240 , // Width (after rotation)
6969 240 , // Height (after rotation)
70- 0 , // column start
70+ 80 , // column start
7171 0 , // row start
72- 270 , // rotation
72+ 0 , // rotation
7373 16 , // Color depth
7474 false, // Grayscale
7575 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