Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: SPI_TFT_ILI9341.cpp
- Revision:
- 7:4c30bea883bc
- Parent:
- 6:fe07ae8329f7
- Child:
- 8:07ad6a48a85d
- Child:
- 9:423e6a952472
diff -r fe07ae8329f7 -r 4c30bea883bc SPI_TFT_ILI9341.cpp
--- a/SPI_TFT_ILI9341.cpp	Sun Jan 26 16:58:45 2014 +0000
+++ b/SPI_TFT_ILI9341.cpp	Sun Jan 26 20:54:21 2014 +0000
@@ -143,7 +143,7 @@
 void SPI_TFT_ILI9341::tft_reset()
 {
     _spi.format(8,3);                  // 8 bit spi mode 3
-    _spi.frequency(20000000);          // 10 Mhz SPI clock
+    _spi.frequency(10000000);          // 10 Mhz SPI clock
     _cs = 1;                           // cs high
     _dc = 1;                           // dc high 
     _reset = 0;                        // display reset