Lib for the new LCD Display with ILI9341 controller
Diff: SPI_TFT_ILI9341.cpp
- Revision:
- 14:2724838d11ed
- Parent:
- 13:b2b3e5430f81
--- a/SPI_TFT_ILI9341.cpp Wed Jun 25 16:51:27 2014 +0000 +++ b/SPI_TFT_ILI9341.cpp Wed Dec 01 15:30:52 2021 +0000 @@ -39,7 +39,7 @@ orientation = 0; char_x = 0; SPI::format(8,3); // 8 bit spi mode 3 - SPI::frequency(10000000); // 10 Mhz SPI clock + SPI::frequency(78000000); // 10 Mhz SPI clock tft_reset(); } @@ -228,7 +228,7 @@ wr_cmd(0xB1); // Frame Rate SPI::write(0x00); - SPI::write(0x1B); + SPI::write(0x13); _cs = 1; wr_cmd(0xF2); // Gamma Function Disable