Motoo Tanaka / Mbed 2 deprecated TFT_test_frdm-k64f

Dependencies:   MMA8451Q SPI_STMPE610 SPI_TFT_ILI9341 TFT_fonts mbed

Files at this revision

API Documentation at this revision

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