UniGraphic library test using MPS2+

Dependencies:   MMA8451Q SPI_STMPE610 UniGraphic mbed

Fork of testUniGraphic_150217 by GraphicsDisplay

Revision:
0:be311b6a294c
Child:
4:76d15fd29c9f
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.h	Tue Feb 17 13:22:06 2015 +0000
@@ -0,0 +1,32 @@
+#ifndef _MAIN_H_
+#define _MAIN_H_ included
+
+#if   defined (TARGET_KL25Z) 
+#define PIN_MOSI        PTD2
+#define PIN_MISO        PTD3 
+#define PIN_SCLK        PTD1 
+#define PIN_CS_TFT      PTD0 
+#define PIN_DC_TFT      PTD5 
+#define PIN_BL_TFT      PTC9 
+#define PIN_CS_SD       PTA4 
+#define PIN_CS_TSC      PTA13
+#define PIN_TSC_INTR    PTC9
+#define PIN_RESET_TFT   PTB10
+ 
+#elif defined (TARGET_KL46Z)
+#define PIN_MOSI        PTD6
+#define PIN_MISO        PTD7 
+#define PIN_SCLK        PTD5 
+#define PIN_CS_TFT      PTD4 
+#define PIN_DC_TFT      PTD2 
+#define PIN_BL_TFT      PTC9 
+#define PIN_CS_SD       PTA4 
+#define PIN_CS_TSC      PTA13
+#define PIN_TSC_INTR    PTC9
+#define PIN_RESET_TFT   PTB10
+
+#else
+  #error TARGET NOT DEFINED
+#endif
+
+#endif /* _MAIN_H_ */
\ No newline at end of file