|
|
|
@ -3,7 +3,8 @@
|
|
|
|
|
*
|
|
|
|
|
* The MIT License (MIT)
|
|
|
|
|
*
|
|
|
|
|
* Copyright (c) 2017 Scott Shawcroft for Adafruit Industries
|
|
|
|
|
* Copyright (c) 2017 Scott Shawcroft for Adafruit Industries, 2020 Radomir
|
|
|
|
|
* Dopieralski
|
|
|
|
|
*
|
|
|
|
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
|
|
|
* of this software and associated documentation files (the "Software"), to deal
|
|
|
|
@ -52,7 +53,7 @@ uint8_t display_init_sequence[] = {
|
|
|
|
|
0xc4, 2, 0x8a, 0xee,
|
|
|
|
|
0xc5, 1, 0x0e, // _VMCTR1 VCOMH = 4V, VOML = -1.1V
|
|
|
|
|
0x2a, 0, // _INVOFF
|
|
|
|
|
0x36, 1, 0xa0, // _MADCTL bottom to top refresh
|
|
|
|
|
0x36, 1, 0xa8, // _MADCTL bottom to top refresh
|
|
|
|
|
// 1 clk cycle nonoverlap, 2 cycle gate rise, 3 sycle osc equalie,
|
|
|
|
|
// fix on VTL
|
|
|
|
|
0x3a, 1, 0x05, // COLMOD - 16bit color
|
|
|
|
|