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.
Dependencies: MMA8451Q SPI_STMPE610 SPI_TFT_ILI9341 TFT_fonts mbed
Revision 3:5b9647f22941, committed 2015-06-03
- Comitter:
- Rhyme
- Date:
- Wed Jun 03 02:06:49 2015 +0000
- Parent:
- 2:2ea45263d1d3
- Commit message:
- PIN_CS_TSC is changed to PTC12 for boards E or later.; For earlier boards please use PTA0.
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 2ea45263d1d3 -r 5b9647f22941 main.cpp --- a/main.cpp Sun Nov 09 07:03:50 2014 +0000 +++ b/main.cpp Wed Jun 03 02:06:49 2015 +0000 @@ -68,7 +68,10 @@ #define PIN_DC_TFT PTC4 #define PIN_BL_TFT PTC3 #define PIN_CS_SD PTB23 -#define PIN_CS_TSC PTA0 +// for board rev E or later +#define PIN_CS_TSC PTC12 +// for earlier boards use following line +// #define PIN_CS_TSC PTA0 #define PIN_TSC_INTR PTC3 #define PIN_BACKLIGHT PTA1 #endif