Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiancetai
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
陈家乐
jiancetai
Commits
ae6a432f
Commit
ae6a432f
authored
Dec 16, 2024
by
郑萍
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
✨
feat:贴图不用字符贴图函数
parent
4c7ab4fb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
190 additions
and
81 deletions
+190
-81
Display_Info.c
YueJin_test_bench/source/Appliciation/Display_Info.c
+190
-81
No files found.
YueJin_test_bench/source/Appliciation/Display_Info.c
View file @
ae6a432f
...
...
@@ -4123,6 +4123,7 @@ void Display_Send_Vspead(uint8_t menu)
{
uint8_t
fuel_val
=
0
;
static
uint8_t
Type_Clear
=
0
;
uint8_t
VSpeed_val
=
0
;
// static uint8_t Type_Clear_FLAG = 0;
if
(
(
Type_Clear
!=
menu
))
{
...
...
@@ -4136,7 +4137,7 @@ void Display_Send_Vspead(uint8_t menu)
TFT_LCD_Draw_Bmp
(
3
,
40
,
(
uint8_t
*
)
gImage_Dey_words_1X6_Y16
);
TFT_LCD_Draw_Bmp
(
180
,
40
,
(
uint8_t
*
)
gImage_Dey_words_5X195_Y16
);
TFT_LCD_Draw_Bmp
(
3
,
40
+
25
,
(
uint8_t
*
)
gImage_Dey_words_4X6_Y107
);
TFT_LCD_Draw_Bmp
(
1
9
0
,
40
+
25
,
(
uint8_t
*
)
gImage_Dey_words_8X224_Y107
);
TFT_LCD_Draw_Bmp
(
1
8
0
,
40
+
25
,
(
uint8_t
*
)
gImage_Dey_words_8X224_Y107
);
TFT_LCD_Draw_Bmp
(
3
,
40
+
25
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
gImage_gImage_checkComX6_Y165
);
}
...
...
@@ -4145,26 +4146,39 @@ void Display_Send_Vspead(uint8_t menu)
{
case
1
:
fuel_val
=
1
;
VSpeed_val
=
0
;
TFT_LCD_Draw_Bmp
(
20
,
40
+
25
+
25
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
gImage_gImage_Powerlow1X6_Y16
);
TFT_LCD_Draw_Bmp
(
70
,
40
+
25
+
25
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
gImage_gImage_READY1X6_Y16
);
TFT_LCD_Draw_Bmp
(
150
,
40
+
25
+
25
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
gImage_gImage_LowBean1X6_Y16
);
TFT_LCD_Draw_Bmp
(
160
,
40
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
gImage_gImage_blueX6_Y165
);
GUI_Display_Version_Code_Service
(
160
,
40
,
"0"
,
Letter_Num_11
,
PCodeText_Space_size
);
GUI_Display_Version_Code_Service
(
160
,
40
+
25
,
"1"
,
Letter_Num_11
,
PCodeText_Space_size
);
TFT_LCD_Draw_Bmp
(
140
,
40
+
25
+
25
,
(
uint8_t
*
)
NO_F
);
TFT_LCD_Draw_Bmp
(
140
+
18
,
40
+
25
+
25
,
(
uint8_t
*
)
NO_R
);
TFT_LCD_Draw_Bmp
(
140
+
18
+
18
,
40
+
25
+
25
,
(
uint8_t
*
)
NO_E
);
TFT_LCD_Draw_Bmp
(
140
+
18
+
18
+
18
,
40
+
25
+
25
,
(
uint8_t
*
)
NO_E
);
// GUI_Display_Version_Code_Service(160, 40+25+25, "FREE", Letter_Num_11, PCodeText_Space_size);
// GUI_Display_Version_Code_Service(160, 40, "0", Letter_Num_11, PCodeText_Space_size);
// GUI_Display_Version_Code_Service(160, 40+25, "1", Letter_Num_11, PCodeText_Space_size);
// GUI_Display_Version_Code_Service(3, 40+25+25, "DM", Letter_Num_11, PCodeText_Space_size);
GUI_Display_Version_Code_Service
(
3
,
40
+
25
+
25
,
"DM"
,
Letter_Num_11
,
PCodeText_Space_size
);
GUI_Display_Version_Code_Service
(
160
,
40
+
25
+
25
,
"FREE"
,
Letter_Num_11
,
PCodeText_Space_size
);
TFT_LCD_Draw_Bmp
(
180
,
40
+
25
+
25
+
25
,
(
uint8_t
*
)
NO_K
);
TFT_LCD_Draw_Bmp
(
180
+
18
,
40
+
25
+
25
+
25
,
(
uint8_t
*
)
NO_W
);
GUI_General_Digit_Display
(
10
,
Num_15
,
6
,
5
,
ODODigitNum09PosX
,
40
+
25
+
25
+
25
+
5
);
// GUI_Display_Version_Code_Service(3, 40+25+25+25, "Power", Letter_Num_11, PCodeText_Space_size);
// GUI_Display_Version_Code_Service(160, 40+25+25+25, "10kW", Letter_Num_11, PCodeText_Space_size);
GUI_Display_Version_Code_Service
(
3
,
40
+
25
+
25
+
25
,
"Power"
,
Letter_Num_11
,
PCodeText_Space_size
);
GUI_Display_Version_Code_Service
(
160
,
40
+
25
+
25
+
25
,
"10kW"
,
Letter_Num_11
,
PCodeText_Space_size
);
// GUI_Display_Version_Code_Service(3, 40+25+25+25+25, "Color", Letter_Num_11, PCodeText_Space_size);
GUI_Display_Version_Code_Service
(
3
,
40
+
25
+
25
+
25
+
25
,
"Color"
,
Letter_Num_11
,
PCodeText_Space_size
);
// GUI_Display_Version_Code_Service(3, 40+25+25+25+25+25, "Time", Letter_Num_11, PCodeText_Space_size);
// GUI_Display_Version_Code_Service(160, 40+25+25+25+25+25, "00-00", Letter_Num_11, PCodeText_Space_size);
TFT_LCD_Draw_Bmp
(
140
,
40
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
NO_0
);
TFT_LCD_Draw_Bmp
(
140
+
18
,
40
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
NO_0
);
GUI_Display_Version_Code_Service
(
3
,
40
+
25
+
25
+
25
+
25
+
25
,
"Time"
,
Letter_Num_11
,
PCodeText_Space_size
);
GUI_Display_Version_Code_Service
(
160
,
40
+
25
+
25
+
25
+
25
+
25
,
"00-00"
,
Letter_Num_11
,
PCodeText_Space_size
);
TFT_LCD_Draw_Bmp
(
140
+
18
+
27
,
40
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
NO_DIAN
);
TFT_LCD_Draw_Bmp
(
140
+
18
+
18
+
18
,
40
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
NO_0
);
TFT_LCD_Draw_Bmp
(
140
+
18
+
18
+
18
+
18
,
40
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
NO_0
);
break
;
case
2
:
...
...
@@ -4173,19 +4187,35 @@ void Display_Send_Vspead(uint8_t menu)
TFT_LCD_Draw_Bmp
(
20
,
40
+
25
+
25
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
gImage_gImage_turnLeft1X6_Y16
);
TFT_LCD_Draw_Bmp
(
150
,
40
+
25
+
25
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
gImage_gImage_highBeanX6_Y165
);
GUI_Display_Version_Code_Service
(
160
,
40
,
"11"
,
Letter_Num_11
,
PCodeText_Space_size
);
GUI_Display_Version_Code_Service
(
160
,
40
+
25
,
"15"
,
Letter_Num_11
,
PCodeText_Space_size
);
//
GUI_Display_Version_Code_Service(160, 40, "11", Letter_Num_11, PCodeText_Space_size);
//
GUI_Display_Version_Code_Service(160, 40+25, "15", Letter_Num_11, PCodeText_Space_size);
fuel_val
=
15
;
GUI_Display_Version_Code_Service
(
3
,
40
+
25
+
25
,
"DM"
,
Letter_Num_11
,
PCodeText_Space_size
);
GUI_Display_Version_Code_Service
(
160
,
40
+
25
+
25
,
"SPORT"
,
Letter_Num_11
,
PCodeText_Space_size
);
VSpeed_val
=
11
;
// GUI_Display_Version_Code_Service(3, 40+25+25, "DM", Letter_Num_11, PCodeText_Space_size);
TFT_LCD_Draw_Bmp
(
140
,
40
+
25
+
25
,
(
uint8_t
*
)
NO_S
);
TFT_LCD_Draw_Bmp
(
140
+
18
,
40
+
25
+
25
,
(
uint8_t
*
)
NO_P
);
TFT_LCD_Draw_Bmp
(
140
+
18
+
18
,
40
+
25
+
25
,
(
uint8_t
*
)
NO_O
);
TFT_LCD_Draw_Bmp
(
140
+
18
+
18
+
18
,
40
+
25
+
25
,
(
uint8_t
*
)
NO_R
);
TFT_LCD_Draw_Bmp
(
140
+
18
+
18
+
18
+
18
,
40
+
25
+
25
,
(
uint8_t
*
)
NO_T
);
// GUI_Display_Version_Code_Service(160, 40+25+25, "SPORT", Letter_Num_11, PCodeText_Space_size);
GUI_Display_Version_Code_Service
(
3
,
40
+
25
+
25
+
25
,
"Power"
,
Letter_Num_11
,
PCodeText_Space_size
);
GUI_Display_Version_Code_Service
(
160
,
40
+
25
+
25
+
25
,
"50kW"
,
Letter_Num_11
,
PCodeText_Space_size
);
// GUI_Display_Version_Code_Service(3, 40+25+25+25, "Power", Letter_Num_11, PCodeText_Space_size);
// GUI_Display_Version_Code_Service(160, 40+25+25+25, "50kW", Letter_Num_11, PCodeText_Space_size);
TFT_LCD_Draw_Bmp
(
180
,
40
+
25
+
25
+
25
,
(
uint8_t
*
)
NO_K
);
TFT_LCD_Draw_Bmp
(
180
+
18
,
40
+
25
+
25
+
25
,
(
uint8_t
*
)
NO_W
);
GUI_General_Digit_Display
(
50
,
Num_15
,
6
,
5
,
ODODigitNum09PosX
,
40
+
25
+
25
+
25
+
5
);
GUI_Display_Version_Code_Service
(
3
,
40
+
25
+
25
+
25
+
25
+
25
,
"Time"
,
Letter_Num_11
,
PCodeText_Space_size
);
GUI_Display_Version_Code_Service
(
160
,
40
+
25
+
25
+
25
+
25
+
25
,
"11-11"
,
Letter_Num_11
,
PCodeText_Space_size
);
// GUI_Display_Version_Code_Service(3, 40+25+25+25+25+25, "Time", Letter_Num_11, PCodeText_Space_size);
// GUI_Display_Version_Code_Service(160, 40+25+25+25+25+25, "11-11", Letter_Num_11, PCodeText_Space_size);
TFT_LCD_Draw_Bmp
(
140
,
40
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
NO_1
);
TFT_LCD_Draw_Bmp
(
140
+
18
,
40
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
NO_1
);
GUI_Display_Version_Code_Service
(
3
,
40
+
25
+
25
+
25
+
25
,
"Color"
,
Letter_Num_11
,
PCodeText_Space_size
);
TFT_LCD_Draw_Bmp
(
140
+
18
+
27
,
40
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
NO_DIAN
);
TFT_LCD_Draw_Bmp
(
140
+
18
+
18
+
18
,
40
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
NO_1
);
TFT_LCD_Draw_Bmp
(
140
+
18
+
18
+
18
+
18
,
40
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
NO_1
);
// GUI_Display_Version_Code_Service(3, 40+25+25+25+25, "Color", Letter_Num_11, PCodeText_Space_size);
break
;
case
3
:
...
...
@@ -4195,19 +4225,34 @@ void Display_Send_Vspead(uint8_t menu)
TFT_LCD_Draw_Bmp
(
70
,
40
+
25
+
25
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
gImage_gImage_AutoX6_Y165
);
TFT_LCD_Draw_Bmp
(
150
,
40
+
25
+
25
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
gImage_gImage_position1X6_Y16
);
GUI_Display_Version_Code_Service
(
160
,
40
,
"22"
,
Letter_Num_11
,
PCodeText_Space_size
);
GUI_Display_Version_Code_Service
(
160
,
40
+
25
,
"22"
,
Letter_Num_11
,
PCodeText_Space_size
);
//
GUI_Display_Version_Code_Service(160, 40, "22", Letter_Num_11, PCodeText_Space_size);
//
GUI_Display_Version_Code_Service(160, 40+25, "22", Letter_Num_11, PCodeText_Space_size);
fuel_val
=
22
;
GUI_Display_Version_Code_Service
(
3
,
40
+
25
+
25
,
"DM"
,
Letter_Num_11
,
PCodeText_Space_size
);
GUI_Display_Version_Code_Service
(
160
,
40
+
25
+
25
,
"TTFAR"
,
Letter_Num_11
,
PCodeText_Space_size
);
GUI_Display_Version_Code_Service
(
3
,
40
+
25
+
25
+
25
,
"Power"
,
Letter_Num_11
,
PCodeText_Space_size
);
GUI_Display_Version_Code_Service
(
160
,
40
+
25
+
25
+
25
,
"100kW"
,
Letter_Num_11
,
PCodeText_Space_size
);
GUI_Display_Version_Code_Service
(
3
,
40
+
25
+
25
+
25
+
25
+
25
,
"Time"
,
Letter_Num_11
,
PCodeText_Space_size
);
GUI_Display_Version_Code_Service
(
160
,
40
+
25
+
25
+
25
+
25
+
25
,
"22-22"
,
Letter_Num_11
,
PCodeText_Space_size
);
GUI_Display_Version_Code_Service
(
3
,
40
+
25
+
25
+
25
+
25
,
"Color"
,
Letter_Num_11
,
PCodeText_Space_size
);
VSpeed_val
=
22
;
// GUI_Display_Version_Code_Service(3, 40+25+25, "DM", Letter_Num_11, PCodeText_Space_size);
TFT_LCD_Draw_Bmp
(
140
,
40
+
25
+
25
,
(
uint8_t
*
)
NO_T
);
TFT_LCD_Draw_Bmp
(
140
+
18
,
40
+
25
+
25
,
(
uint8_t
*
)
NO_T
);
TFT_LCD_Draw_Bmp
(
140
+
18
+
18
,
40
+
25
+
25
,
(
uint8_t
*
)
NO_F
);
TFT_LCD_Draw_Bmp
(
140
+
18
+
18
+
18
,
40
+
25
+
25
,
(
uint8_t
*
)
NO_A
);
TFT_LCD_Draw_Bmp
(
140
+
18
+
18
+
18
+
18
,
40
+
25
+
25
,
(
uint8_t
*
)
NO_R
);
// GUI_Display_Version_Code_Service(160, 40+25+25, "TTFAR", Letter_Num_11, PCodeText_Space_size);
// GUI_Display_Version_Code_Service(3, 40+25+25+25, "Power", Letter_Num_11, PCodeText_Space_size);
// GUI_Display_Version_Code_Service(160, 40+25+25+25, "100kW", Letter_Num_11, PCodeText_Space_size);
TFT_LCD_Draw_Bmp
(
180
,
40
+
25
+
25
+
25
,
(
uint8_t
*
)
NO_K
);
TFT_LCD_Draw_Bmp
(
180
+
18
,
40
+
25
+
25
+
25
,
(
uint8_t
*
)
NO_W
);
GUI_General_Digit_Display
(
100
,
Num_15
,
6
,
5
,
ODODigitNum09PosX
,
40
+
25
+
25
+
25
+
5
);
// GUI_Display_Version_Code_Service(3, 40+25+25+25+25+25, "Time", Letter_Num_11, PCodeText_Space_size);
// GUI_Display_Version_Code_Service(160, 40+25+25+25+25+25, "22-22", Letter_Num_11, PCodeText_Space_size);
TFT_LCD_Draw_Bmp
(
140
,
40
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
NO_2
);
TFT_LCD_Draw_Bmp
(
140
+
18
,
40
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
NO_2
);
TFT_LCD_Draw_Bmp
(
140
+
18
+
27
,
40
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
NO_DIAN
);
TFT_LCD_Draw_Bmp
(
140
+
18
+
18
+
18
,
40
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
NO_2
);
TFT_LCD_Draw_Bmp
(
140
+
18
+
18
+
18
+
18
,
40
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
NO_2
);
// GUI_Display_Version_Code_Service(3, 40+25+25+25+25, "Color", Letter_Num_11, PCodeText_Space_size);
break
;
case
4
:
...
...
@@ -4217,57 +4262,89 @@ void Display_Send_Vspead(uint8_t menu)
TFT_LCD_Draw_Bmp
(
70
,
40
+
25
+
25
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
gImage_Alarm_12_xhX6_Y165
);
TFT_LCD_Draw_Bmp
(
150
,
40
+
25
+
25
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
gImage_gImage_superT1X6_Y16
);
GUI_Display_Version_Code_Service
(
160
,
40
,
"33"
,
Letter_Num_11
,
PCodeText_Space_size
);
GUI_Display_Version_Code_Service
(
160
,
40
+
25
,
"33"
,
Letter_Num_11
,
PCodeText_Space_size
);
//
GUI_Display_Version_Code_Service(160, 40, "33", Letter_Num_11, PCodeText_Space_size);
//
GUI_Display_Version_Code_Service(160, 40+25, "33", Letter_Num_11, PCodeText_Space_size);
fuel_val
=
33
;
GUI_Display_Version_Code_Service
(
3
,
40
+
25
+
25
+
25
+
25
+
25
,
"Time"
,
Letter_Num_11
,
PCodeText_Space_size
);
GUI_Display_Version_Code_Service
(
160
,
40
+
25
+
25
+
25
+
25
+
25
,
"13-33"
,
Letter_Num_11
,
PCodeText_Space_size
);
VSpeed_val
=
33
;
// GUI_Display_Version_Code_Service(3, 40+25+25+25+25+25, "Time", Letter_Num_11, PCodeText_Space_size);
// GUI_Display_Version_Code_Service(160, 40+25+25+25+25+25, "13-33", Letter_Num_11, PCodeText_Space_size);
TFT_LCD_Draw_Bmp
(
140
,
40
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
NO_1
);
TFT_LCD_Draw_Bmp
(
140
+
18
,
40
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
NO_3
);
GUI_Display_Version_Code_Service
(
3
,
40
+
25
+
25
+
25
+
25
,
"Color"
,
Letter_Num_11
,
PCodeText_Space_size
);
TFT_LCD_Draw_Bmp
(
140
+
18
+
27
,
40
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
NO_DIAN
);
TFT_LCD_Draw_Bmp
(
140
+
18
+
18
+
18
,
40
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
NO_3
);
TFT_LCD_Draw_Bmp
(
140
+
18
+
18
+
18
+
18
,
40
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
NO_3
);
// GUI_Display_Version_Code_Service(3, 40+25+25+25+25, "Color", Letter_Num_11, PCodeText_Space_size);
break
;
case
5
:
TFT_LCD_Draw_Bmp
(
20
,
40
+
25
+
25
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
gImage_gImage_TCS1X6_Y16
);
TFT_LCD_Draw_Bmp
(
70
,
40
+
25
+
25
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
gImage_gImage_seattong1X6_Y16
);
GUI_Display_Version_Code_Service
(
160
,
40
+
25
,
"44"
,
Letter_Num_11
,
PCodeText_Space_size
);
GUI_Display_Version_Code_Service
(
160
,
40
,
"44"
,
Letter_Num_11
,
PCodeText_Space_size
);
//
GUI_Display_Version_Code_Service(160, 40+25, "44", Letter_Num_11, PCodeText_Space_size);
//
GUI_Display_Version_Code_Service(160, 40, "44", Letter_Num_11, PCodeText_Space_size);
fuel_val
=
44
;
GUI_Display_Version_Code_Service
(
3
,
40
+
25
+
25
+
25
,
"ePower"
,
Letter_Num_11
,
PCodeText_Space_size
);
GUI_Display_Version_Code_Service
(
160
,
40
+
25
+
25
+
25
,
"1"
,
Letter_Num_11
,
PCodeText_Space_size
);
VSpeed_val
=
44
;
// GUI_Display_Version_Code_Service(3, 40+25+25+25, "ePower", Letter_Num_11, PCodeText_Space_size);
// GUI_Display_Version_Code_Service(160, 40+25+25+25, "1", Letter_Num_11, PCodeText_Space_size);
TFT_LCD_Draw_Bmp
(
180
,
40
+
25
+
25
+
25
,
(
uint8_t
*
)
NO_G
);
GUI_General_Digit_Display
(
1
,
Num_15
,
6
,
5
,
ODODigitNum09PosX
,
40
+
25
+
25
+
25
+
5
);
GUI_Display_Version_Code_Service
(
3
,
40
+
25
+
25
+
25
+
25
+
25
,
"Time"
,
Letter_Num_11
,
PCodeText_Space_size
);
GUI_Display_Version_Code_Service
(
160
,
40
+
25
+
25
+
25
+
25
+
25
,
"14-44"
,
Letter_Num_11
,
PCodeText_Space_size
);
// GUI_Display_Version_Code_Service(3, 40+25+25+25+25+25, "Time", Letter_Num_11, PCodeText_Space_size);
// GUI_Display_Version_Code_Service(160, 40+25+25+25+25+25, "14-44", Letter_Num_11, PCodeText_Space_size);
TFT_LCD_Draw_Bmp
(
140
,
40
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
NO_1
);
TFT_LCD_Draw_Bmp
(
140
+
18
,
40
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
NO_4
);
TFT_LCD_Draw_Bmp
(
140
+
18
+
27
,
40
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
NO_DIAN
);
TFT_LCD_Draw_Bmp
(
140
+
18
+
18
+
18
,
40
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
NO_4
);
TFT_LCD_Draw_Bmp
(
140
+
18
+
18
+
18
+
18
,
40
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
NO_4
);
break
;
case
6
:
TFT_LCD_Draw_Bmp
(
20
,
40
+
25
+
25
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
gImage_gImage_seat1X6_Y16
);
TFT_LCD_Draw_Bmp
(
70
,
40
+
25
+
25
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
gImage_gImage_doupoX6_Y165
);
GUI_Display_Version_Code_Service
(
160
,
40
+
25
,
"55"
,
Letter_Num_11
,
PCodeText_Space_size
);
GUI_Display_Version_Code_Service
(
160
,
40
,
"55"
,
Letter_Num_11
,
PCodeText_Space_size
);
//
GUI_Display_Version_Code_Service(160, 40+25, "55", Letter_Num_11, PCodeText_Space_size);
//
GUI_Display_Version_Code_Service(160, 40, "55", Letter_Num_11, PCodeText_Space_size);
fuel_val
=
55
;
GUI_Display_Version_Code_Service
(
3
,
40
+
25
+
25
+
25
,
"ePower"
,
Letter_Num_11
,
PCodeText_Space_size
);
GUI_Display_Version_Code_Service
(
160
,
40
+
25
+
25
+
25
,
"5"
,
Letter_Num_11
,
PCodeText_Space_size
);
VSpeed_val
=
55
;
// GUI_Display_Version_Code_Service(3, 40+25+25+25, "ePower", Letter_Num_11, PCodeText_Space_size);
// GUI_Display_Version_Code_Service(160, 40+25+25+25, "5", Letter_Num_11, PCodeText_Space_size);
TFT_LCD_Draw_Bmp
(
180
,
40
+
25
+
25
+
25
,
(
uint8_t
*
)
NO_G
);
GUI_General_Digit_Display
(
5
,
Num_15
,
6
,
5
,
ODODigitNum09PosX
,
40
+
25
+
25
+
25
+
5
);
GUI_Display_Version_Code_Service
(
3
,
40
+
25
+
25
+
25
+
25
+
25
,
"Time"
,
Letter_Num_11
,
PCodeText_Space_size
);
GUI_Display_Version_Code_Service
(
160
,
40
+
25
+
25
+
25
+
25
+
25
,
"15-55"
,
Letter_Num_11
,
PCodeText_Space_size
);
// GUI_Display_Version_Code_Service(3, 40+25+25+25+25+25, "Time", Letter_Num_11, PCodeText_Space_size);
// GUI_Display_Version_Code_Service(160, 40+25+25+25+25+25, "15-55", Letter_Num_11, PCodeText_Space_size);
TFT_LCD_Draw_Bmp
(
140
,
40
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
NO_1
);
TFT_LCD_Draw_Bmp
(
140
+
18
,
40
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
NO_5
);
TFT_LCD_Draw_Bmp
(
140
+
18
+
27
,
40
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
NO_DIAN
);
TFT_LCD_Draw_Bmp
(
140
+
18
+
18
+
18
,
40
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
NO_5
);
TFT_LCD_Draw_Bmp
(
140
+
18
+
18
+
18
+
18
,
40
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
NO_5
);
break
;
case
7
:
TFT_LCD_Draw_Bmp
(
20
,
40
+
25
+
25
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
gImage_gImage_ABSX6_Y165
);
TFT_LCD_Draw_Bmp
(
70
,
40
+
25
+
25
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
gImage_gImage_xiangonglv1X6_Y16
);
GUI_Display_Version_Code_Service
(
160
,
40
+
25
,
"66"
,
Letter_Num_11
,
PCodeText_Space_size
);
GUI_Display_Version_Code_Service
(
160
,
40
,
"66"
,
Letter_Num_11
,
PCodeText_Space_size
);
//
GUI_Display_Version_Code_Service(160, 40+25, "66", Letter_Num_11, PCodeText_Space_size);
//
GUI_Display_Version_Code_Service(160, 40, "66", Letter_Num_11, PCodeText_Space_size);
fuel_val
=
66
;
GUI_Display_Version_Code_Service
(
3
,
40
+
25
+
25
+
25
,
"ePower"
,
Letter_Num_11
,
PCodeText_Space_size
);
GUI_Display_Version_Code_Service
(
160
,
40
+
25
+
25
+
25
,
"10"
,
Letter_Num_11
,
PCodeText_Space_size
);
VSpeed_val
=
66
;
// GUI_Display_Version_Code_Service(3, 40+25+25+25, "ePower", Letter_Num_11, PCodeText_Space_size);
// GUI_Display_Version_Code_Service(160, 40+25+25+25, "10", Letter_Num_11, PCodeText_Space_size);
TFT_LCD_Draw_Bmp
(
180
,
40
+
25
+
25
+
25
,
(
uint8_t
*
)
NO_G
);
GUI_General_Digit_Display
(
10
,
Num_15
,
6
,
5
,
ODODigitNum09PosX
,
40
+
25
+
25
+
25
+
5
);
// GUI_Display_Version_Code_Service(3, 40+25+25+25+25+25, "Time", Letter_Num_11, PCodeText_Space_size);
// GUI_Display_Version_Code_Service(160, 40+25+25+25+25+25, "16-06", Letter_Num_11, PCodeText_Space_size);
TFT_LCD_Draw_Bmp
(
140
,
40
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
NO_1
);
TFT_LCD_Draw_Bmp
(
140
+
18
,
40
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
NO_6
);
GUI_Display_Version_Code_Service
(
3
,
40
+
25
+
25
+
25
+
25
+
25
,
"Time"
,
Letter_Num_11
,
PCodeText_Space_size
);
GUI_Display_Version_Code_Service
(
160
,
40
+
25
+
25
+
25
+
25
+
25
,
"16-06"
,
Letter_Num_11
,
PCodeText_Space_size
);
TFT_LCD_Draw_Bmp
(
140
+
18
+
27
,
40
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
NO_DIAN
);
TFT_LCD_Draw_Bmp
(
140
+
18
+
18
+
18
,
40
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
NO_0
);
TFT_LCD_Draw_Bmp
(
140
+
18
+
18
+
18
+
18
,
40
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
NO_6
);
break
;
...
...
@@ -4275,41 +4352,69 @@ void Display_Send_Vspead(uint8_t menu)
TFT_LCD_Draw_Bmp
(
20
,
40
+
25
+
25
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
gImage_gImage_bluetoothX6_Y165
);
TFT_LCD_Draw_Bmp
(
70
,
40
+
25
+
25
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
gImage_gImage_zcguzhang1X6_Y16
);
GUI_Display_Version_Code_Service
(
160
,
40
+
25
,
"77"
,
Letter_Num_11
,
PCodeText_Space_size
);
GUI_Display_Version_Code_Service
(
160
,
40
,
"77"
,
Letter_Num_11
,
PCodeText_Space_size
);
//
GUI_Display_Version_Code_Service(160, 40+25, "77", Letter_Num_11, PCodeText_Space_size);
//
GUI_Display_Version_Code_Service(160, 40, "77", Letter_Num_11, PCodeText_Space_size);
fuel_val
=
77
;
GUI_Display_Version_Code_Service
(
3
,
40
+
25
+
25
+
25
+
25
,
"Color"
,
Letter_Num_11
,
PCodeText_Space_size
);
VSpeed_val
=
77
;
// GUI_Display_Version_Code_Service(3, 40+25+25+25+25, "Color", Letter_Num_11, PCodeText_Space_size);
TFT_LCD_Draw_Bmp
(
160
,
40
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
gImage_gImage_red1X6_Y16
);
GUI_Display_Version_Code_Service
(
3
,
40
+
25
+
25
+
25
+
25
+
25
,
"Time"
,
Letter_Num_11
,
PCodeText_Space_size
);
GUI_Display_Version_Code_Service
(
160
,
40
+
25
+
25
+
25
+
25
+
25
,
"17-07"
,
Letter_Num_11
,
PCodeText_Space_size
);
// GUI_Display_Version_Code_Service(3, 40+25+25+25+25+25, "Time", Letter_Num_11, PCodeText_Space_size);
// GUI_Display_Version_Code_Service(160, 40+25+25+25+25+25, "17-07", Letter_Num_11, PCodeText_Space_size);
TFT_LCD_Draw_Bmp
(
140
,
40
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
NO_1
);
TFT_LCD_Draw_Bmp
(
140
+
18
,
40
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
NO_7
);
TFT_LCD_Draw_Bmp
(
140
+
18
+
27
,
40
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
NO_DIAN
);
TFT_LCD_Draw_Bmp
(
140
+
18
+
18
+
18
,
40
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
NO_0
);
TFT_LCD_Draw_Bmp
(
140
+
18
+
18
+
18
+
18
,
40
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
NO_7
);
break
;
case
9
:
GUI_Display_Version_Code_Service
(
160
,
40
+
25
,
"88"
,
Letter_Num_11
,
PCodeText_Space_size
);
GUI_Display_Version_Code_Service
(
160
,
40
,
"88"
,
Letter_Num_11
,
PCodeText_Space_size
);
//
GUI_Display_Version_Code_Service(160, 40+25, "88", Letter_Num_11, PCodeText_Space_size);
//
GUI_Display_Version_Code_Service(160, 40, "88", Letter_Num_11, PCodeText_Space_size);
fuel_val
=
88
;
GUI_Display_Version_Code_Service
(
3
,
40
+
25
+
25
+
25
+
25
+
25
,
"Time"
,
Letter_Num_11
,
PCodeText_Space_size
);
GUI_Display_Version_Code_Service
(
160
,
40
+
25
+
25
+
25
+
25
+
25
,
"18-08"
,
Letter_Num_11
,
PCodeText_Space_size
);
VSpeed_val
=
88
;
// GUI_Display_Version_Code_Service(3, 40+25+25+25+25+25, "Time", Letter_Num_11, PCodeText_Space_size);
// GUI_Display_Version_Code_Service(160, 40+25+25+25+25+25, "18-08", Letter_Num_11, PCodeText_Space_size);
TFT_LCD_Draw_Bmp
(
140
,
40
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
NO_1
);
TFT_LCD_Draw_Bmp
(
140
+
18
,
40
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
NO_8
);
TFT_LCD_Draw_Bmp
(
140
+
18
+
27
,
40
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
NO_DIAN
);
TFT_LCD_Draw_Bmp
(
140
+
18
+
18
+
18
,
40
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
NO_0
);
TFT_LCD_Draw_Bmp
(
140
+
18
+
18
+
18
+
18
,
40
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
NO_8
);
TFT_LCD_Draw_Bmp
(
20
,
40
+
25
+
25
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
gImage_gImage_lowPower1X6_Y16
);
break
;
case
10
:
GUI_Display_Version_Code_Service
(
160
,
40
+
25
,
"99"
,
Letter_Num_11
,
PCodeText_Space_size
);
GUI_Display_Version_Code_Service
(
160
,
40
,
"99"
,
Letter_Num_11
,
PCodeText_Space_size
);
//
GUI_Display_Version_Code_Service(160, 40+25, "99", Letter_Num_11, PCodeText_Space_size);
//
GUI_Display_Version_Code_Service(160, 40, "99", Letter_Num_11, PCodeText_Space_size);
fuel_val
=
99
;
GUI_Display_Version_Code_Service
(
3
,
40
+
25
+
25
+
25
+
25
+
25
,
"Time"
,
Letter_Num_11
,
PCodeText_Space_size
);
GUI_Display_Version_Code_Service
(
160
,
40
+
25
+
25
+
25
+
25
+
25
,
"19-09"
,
Letter_Num_11
,
PCodeText_Space_size
);
VSpeed_val
=
99
;
// GUI_Display_Version_Code_Service(3, 40+25+25+25+25+25, "Time", Letter_Num_11, PCodeText_Space_size);
// GUI_Display_Version_Code_Service(160, 40+25+25+25+25+25, "19-09", Letter_Num_11, PCodeText_Space_size);
TFT_LCD_Draw_Bmp
(
140
,
40
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
NO_1
);
TFT_LCD_Draw_Bmp
(
140
+
18
,
40
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
NO_9
);
TFT_LCD_Draw_Bmp
(
140
+
18
+
27
,
40
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
NO_DIAN
);
TFT_LCD_Draw_Bmp
(
140
+
18
+
18
+
18
,
40
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
NO_0
);
TFT_LCD_Draw_Bmp
(
140
+
18
+
18
+
18
+
18
,
40
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
NO_9
);
GUI_Display_Version_Code_Service
(
70
,
40
+
25
+
25
+
25
+
25
+
25
+
25
+
25
,
"ALL"
,
Letter_Num_11
,
PCodeText_Space_size
);
break
;
case
11
:
GUI_Display_Version_Code_Service
(
160
,
40
+
25
,
"100"
,
Letter_Num_11
,
PCodeText_Space_size
);
GUI_Display_Version_Code_Service
(
160
,
40
,
"99"
,
Letter_Num_11
,
PCodeText_Space_size
);
//
GUI_Display_Version_Code_Service(160, 40+25, "100", Letter_Num_11, PCodeText_Space_size);
//
GUI_Display_Version_Code_Service(160, 40, "99", Letter_Num_11, PCodeText_Space_size);
fuel_val
=
100
;
GUI_Display_Version_Code_Service
(
3
,
40
+
25
+
25
+
25
+
25
+
25
,
"Time"
,
Letter_Num_11
,
PCodeText_Space_size
);
GUI_Display_Version_Code_Service
(
160
,
40
+
25
+
25
+
25
+
25
+
25
,
"00-00"
,
Letter_Num_11
,
PCodeText_Space_size
);
VSpeed_val
=
99
;
// GUI_Display_Version_Code_Service(3, 40+25+25+25+25+25, "Time", Letter_Num_11, PCodeText_Space_size);
// GUI_Display_Version_Code_Service(160, 40+25+25+25+25+25, "00-00", Letter_Num_11, PCodeText_Space_size);
TFT_LCD_Draw_Bmp
(
140
,
40
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
NO_0
);
TFT_LCD_Draw_Bmp
(
140
+
18
,
40
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
NO_0
);
TFT_LCD_Draw_Bmp
(
140
+
18
+
27
,
40
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
NO_DIAN
);
TFT_LCD_Draw_Bmp
(
140
+
18
+
18
+
18
,
40
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
NO_0
);
TFT_LCD_Draw_Bmp
(
140
+
18
+
18
+
18
+
18
,
40
+
25
+
25
+
25
+
25
+
25
,
(
uint8_t
*
)
NO_0
);
GUI_Display_Version_Code_Service
(
70
,
40
+
25
+
25
+
25
+
25
+
25
+
25
+
25
,
"ALL"
,
Letter_Num_11
,
PCodeText_Space_size
);
break
;
...
...
@@ -4329,8 +4434,12 @@ void Display_Send_Vspead(uint8_t menu)
MENU_CHECK_STEP
=
0
;
break
;
}
// GUI_General_Digit_Display(VSpeed_val, Num_15, 6, 5, ODODigitNum09PosX, 40);
// GUI_General_Digit_Display(fuel_val, Num_15, 6, 5, ODODigitNum09PosX, 40+25);
if
(
menu
!=
12
)
{
GUI_General_Digit_Display
(
VSpeed_val
,
Num_15
,
6
,
5
,
ODODigitNum09PosX
,
40
);
GUI_General_Digit_Display
(
fuel_val
,
Num_15
,
6
,
5
,
ODODigitNum09PosX
,
40
+
25
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment