Music Player for ARCH-PRO
Dependencies: GT20L16J1Y_font TinyJpgDec mbed
SeeedStudio Arch Pro + aitendo TFT-LCD w/Touch panel => .wav File Player
LPC1768 + aitendo TFT-LCD w/Touch panel => .wav File Player
http://goji2100.com/
Diff: mGTFT/mGTFTdev.h
- Revision:
- 0:6fa19738f62e
diff -r 000000000000 -r 6fa19738f62e mGTFT/mGTFTdev.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mGTFT/mGTFTdev.h Mon Sep 08 16:07:05 2014 +0000 @@ -0,0 +1,45 @@ +// -------------------------------------------------------- +// mGTFTdev.h (c) CopYright 2013-2014 Goji. +// -------------------------------------------------------- + +#if defined(aitendo26) + + #define ST7783 + + #define TFT_DEVID 0x7783 + #define TFT_MIN_X 0 + #define TFT_MIN_Y 0 + #define TFT_MAX_X 320 + #define TFT_MAX_Y 240 + + #define TFT_HV_VERT 0x0000 + #define TFT_HV_HORZ 0x0008 + #define mTFT_SET_ORENTATION(am) TFT_wr_index_data(0x03, 0x1030 | am) + + #define TFT_pin_RD A0 + #define TFT_pin_WR A1 + #define TFT_pin_RS A2 + #define TFT_pin_CS A3 + #define TFT_pin_RESET A4 + +#elif defined(mcufriend24) + + #define ILI9325 + + #define TFT_DEVID 0x9325 + #define TFT_MIN_X 0 + #define TFT_MIN_Y 0 + #define TFT_MAX_X 320 + #define TFT_MAX_Y 240 + + #define TFT_HV_VERT 0x0000 + #define TFT_HV_HORZ 0x0008 + #define mTFT_SET_ORENTATION(am) TFT_wr_index_data(0x03, 0x1030 | am) + + #define TFT_pin_RD A0 + #define TFT_pin_WR A1 + #define TFT_pin_RS A2 + #define TFT_pin_CS A3 + #define TFT_pin_RESET A4 + +#endif