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.
Fork of SPI_TFT_ILI9341 by
Revision 7:4c30bea883bc, committed 2014-01-26
- Comitter:
- dreschpe
- Date:
- Sun Jan 26 20:54:21 2014 +0000
- Parent:
- 6:fe07ae8329f7
- Child:
- 8:8593d3668153
- Commit message:
- Set the spi frequency back to 10Mhz to get the SD card working again.
Changed in this revision
| SPI_TFT_ILI9341.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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
