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.
Dependents: ST7735_Pong ST7735_TFT SPI18TFT_FRDM-KL25Z SPI18TFT ... more
Revision 1:967235e6fd48, committed 2011-12-11
- Comitter:
- smultron1977
- Date:
- Sun Dec 11 21:18:21 2011 +0000
- Parent:
- 0:246f2fb5be59
- Commit message:
- SPI frequency increased
Changed in this revision
| ST7735_TFT.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/ST7735_TFT.cpp Sun Dec 11 21:05:52 2011 +0000
+++ b/ST7735_TFT.cpp Sun Dec 11 21:18:21 2011 +0000
@@ -176,7 +176,7 @@
// init SPI
_spi.format(8,3); // 8 bit spi mode 3
- _spi.frequency(4000000); // 16Mhz SPI clock ... 15Mhz is maximum for display, but it seems to work
+ _spi.frequency(16000000); // 16Mhz SPI clock ... 15Mhz is maximum for display, but it seems to work
// reset exactly like in Arduino version
_cs = 0;