完成tft基础功能

This commit is contained in:
forbelief 2016-04-17 10:30:23 +08:00
parent 91399c2e8f
commit b2a5002742
21 changed files with 1036 additions and 480 deletions

View file

@ -1,5 +1,5 @@
/*
* config.h -
* config.h -
*
*/
@ -10,20 +10,20 @@
/*
* 使
* 使
*/
#define SIMULAT_TIMER_PITX PIT1
/*
*
*
*/
#define DEBUG_UARTX UART1
/*
*
*
*/
#define UP_KEY_PINX PTE20
#define DOWN_KEY_PINX PTA17
@ -35,16 +35,16 @@
#define MB_KEY_PINX PTA16
#define MUVB_KEY_PINX PTD6
#define KNOB_A_PINX PTD3
#define KNOB_B_PINX PTD4
#define KNOB_KEY_PINX PTD5
#define KNOB_A_PINX PTD6
#define KNOB_B_PINX PTD7
#define KNOB_KEY_PINX PTD4 // PTD5
/*
*
*
*/
#define TFT_UARTX UART2
#define TFT_UARTX UART2 // PTD2,PTD3