My first trial of using UniGraphic library.
Dependencies: MMA8451Q SPI_STMPE610 UniGraphic mbed
main.h
- Committer:
- Rhyme
- Date:
- 2015-02-17
- Revision:
- 0:be311b6a294c
File content as of revision 0:be311b6a294c:
#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_ */