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: mGTP/DEV/mcuf24.h
- Revision:
- 0:6fa19738f62e
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mGTP/DEV/mcuf24.h Mon Sep 08 16:07:05 2014 +0000 @@ -0,0 +1,34 @@ +// -------------------------------------------------------- +// MCUF24.h (c) Copyright 2013-2014 Goji. +// -------------------------------------------------------- + +#if defined(mcufriend24) +//====================== + +// www.mcufriend.com 2.4" TFT LCD Shield +// ILI9325 +// -------------------------------------------------------- + +/* +DigitalInOut U_A0(p15); // Y- (A0) p15 = P0.23 +AnalogIn U_A1(p16); // X- (A1) p16 = P0.24 +AnalogIn U_A2(p17); // Y+ (A2) p17 = P0.25 +DigitalInOut U_A3(p18); // X+ (A3) p18 = P0.26 +*/ + +#define TPC_XNON ( 713) +#define TPC_XMIN ( 798) +#define TPC_XMAX (2730) +#define TPC_YNON ( 632) +#define TPC_YMIN ( 741) +#define TPC_YMAX (2637) + +#define TFT_RUN() +#define TFT_STOP() + +void TPC_Init(void); +int16_t get_pX(void); +int16_t get_pY(void); + +//==================== +#endif