完成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 @@
/*
* tft.h - tft接口
* tft.h - tft½Ó¿Ú
*/
@ -7,8 +7,20 @@
#define TFT_H
typedef struct input_limit_
{
int16_t max;
int16_t min;
} input_limit;
void tft_init(void);
void tft_send_cmd(const char *cmd);
void tft_left(void);
void tft_right(void);
void tft_up(void);
void tft_down(void);
@ -18,6 +30,10 @@ void tft_ok(void);
void tft_ret(void);
int16_t get_value_of_kvp(char *name);
input_limit tft_input_limit(char *name);