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
e02731f5
Commit
e02731f5
authored
Sep 19, 2025
by
何锐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
✨
feat:全亮增加挡位显示
parent
3b68b7a2
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
19 deletions
+23
-19
Display_Info.c
YueJin_test_bench/source/Appliciation/Display_Info.c
+8
-4
Key_user.c
YueJin_test_bench/source/Appliciation/Key_user.c
+12
-12
Task.c
YueJin_test_bench/source/Appliciation/Task.c
+3
-3
No files found.
YueJin_test_bench/source/Appliciation/Display_Info.c
View file @
e02731f5
...
...
@@ -5029,6 +5029,8 @@ void Display_Send_Vspead(uint8_t menu)
uint32_t fuel_val = 0;
uint32_t WaterTemp = 0;
// static uint8_t Type_Clear_FLAG = 0;
uint8_t GEAR[5] = {0x47,0x45,0x41,0x52,0xFF};
uint8_t GEARNumber[2] = {0x06,0xFF};
if ( (Type_Clear != menu ))
{
Type_Clear = menu;
...
...
@@ -5036,8 +5038,8 @@ void Display_Send_Vspead(uint8_t menu)
}
if((menu > 0) && (menu < 16))
{
//
TFT_LCD_Draw_Bmp(3, 40, ( uint8_t * )gImage_04X0_Y0);//车速
//
TFT_LCD_Draw_Bmp(3, 80, ( uint8_t * )gImage_04X0_Y0);//转速
TFT_LCD_Draw_Bmp(3, 40, ( uint8_t * )gImage_04X0_Y0);//车速
TFT_LCD_Draw_Bmp(3, 80, ( uint8_t * )gImage_04X0_Y0);//转速
switch (menu)
{
case 1:
...
...
@@ -5114,6 +5116,8 @@ void Display_Send_Vspead(uint8_t menu)
VSpeed_val = 199;
ESpeed_val = 12000;
TFT_LCD_Draw_Bmp(3, 165, ( uint8_t * )gImage_JCT_26X0_Y0);
General_Number_Disp(GEAR, 3, 120);
General_Number_Disp(GEARNumber, 165, 120);
break;
default:
// MENU_CHECK_STEP = 0;
...
...
@@ -5121,8 +5125,8 @@ void Display_Send_Vspead(uint8_t menu)
}
if(menu < 16 && menu != 0)
{
//
GUI_General_Digit_Display(VSpeed_val, Num_15, 3, 2, ODODigitNum09PosX, 40);
//
GUI_General_Digit_Display(ESpeed_val, Num_15, 5, 3, ODODigitNum09PosX, 80);
GUI_General_Digit_Display(VSpeed_val, Num_15, 3, 2, ODODigitNum09PosX, 40);
GUI_General_Digit_Display(ESpeed_val, Num_15, 5, 3, ODODigitNum09PosX, 80);
}
}
...
...
YueJin_test_bench/source/Appliciation/Key_user.c
View file @
e02731f5
...
...
@@ -128,18 +128,18 @@ void Key_Operation_SW2(Key_Event_en_t enKeyEvent)
if
(
enKeyEvent
==
KEY_EVENT_SHORT_PRESS
)
{
//
if(MENU_CHECK_STEP == 0)
//
{
//
MENU_CHECK_STEP = 16;
//
}
//
else if(MENU_CHECK_STEP == 16)
//
{
//
MENU_CHECK_STEP = 1;
//
}
//
else
//
{
//
MENU_CHECK_STEP++;
//
}
if
(
MENU_CHECK_STEP
==
0
)
{
MENU_CHECK_STEP
=
16
;
}
else
if
(
MENU_CHECK_STEP
==
16
)
{
MENU_CHECK_STEP
=
1
;
}
else
{
MENU_CHECK_STEP
++
;
}
// if((MENU_CHECK_STEP < 6) && (MENU_CHECK_STEP > 0))
// {
...
...
YueJin_test_bench/source/Appliciation/Task.c
View file @
e02731f5
...
...
@@ -81,10 +81,10 @@ void Sys_Run_Mode_10ms_Tasks_Group(void)
send_uid_fuc
();
}
}
if
(
begin714
)
{
//
if(begin714)
//
{
can_submit
();
}
//
}
if
(
writeflag
==
1
)
{
...
...
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