Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
haoJin750TFT
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
时昊
haoJin750TFT
Commits
4f0c52cb
Commit
4f0c52cb
authored
8 months ago
by
郑萍
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:转速显示调试成功
parent
06ddb913
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
14 deletions
+21
-14
AMT630H_Datas.c
Firmware/Source/Component/AMT630H/AMT630H_Datas.c
+21
-14
No files found.
Firmware/Source/Component/AMT630H/AMT630H_Datas.c
View file @
4f0c52cb
...
...
@@ -2577,6 +2577,7 @@ static void AMT630H_GUI_VSpeed(uint16_t VSpeed)
/*转速显示函数*/
static
void
AMT630H_GUI_ESpeed
(
uint16_t
ESpeed
)
{
uint8_t
PIC
=
0
;
if
((
Pic_mode
==
PIC_DAYTIME_Main_CH
)
||
(
Pic_mode
==
PIC_DAYTIME_Main_EN
))
{
SetPagePic
(
GRAPHICS_PAGE_0
,
Pic_0606_834_199
);
/* 1000r/min */
...
...
@@ -2603,14 +2604,14 @@ static void AMT630H_GUI_ESpeed(uint16_t ESpeed)
if
(
ESpeedNumber
>
0
)
{
ESpeedLevel
=
(
ESpeedNumber
-
1
)
/
1000
;
for
(
PIC
=
0
;
PIC
<=
ESpeedLevel
;
PIC
++
)
{
SetPagePic
(
GRAPHICS_PAGE_0
,
PICList_ESpeed_DAY
[
PIC
]);
}
}
else
if
(
ESpeedNumber
==
0
)
{
}
for
(
int
PIC
=
0
;
PIC
<=
ESpeedLevel
;
PIC
++
)
{
SetPagePic
(
GRAPHICS_PAGE_0
,
PICList_ESpeed_DAY
[
PIC
]);
ESpeedLevel
=
0
;
}
}
...
...
@@ -2640,14 +2641,14 @@ static void AMT630H_GUI_ESpeed(uint16_t ESpeed)
if
(
ESpeedNumber
>
0
)
{
ESpeedLevel
=
(
ESpeedNumber
-
1
)
/
1000
;
for
(
PIC
=
0
;
PIC
<=
ESpeedLevel
;
PIC
++
)
{
SetPagePic
(
GRAPHICS_PAGE_0
,
PICList_ESpeed_NIGHT
[
PIC
]);
}
}
else
if
(
ESpeedNumber
==
0
)
{
}
for
(
int
PIC
=
0
;
PIC
<=
ESpeedLevel
;
PIC
++
)
{
SetPagePic
(
GRAPHICS_PAGE_0
,
PICList_ESpeed_NIGHT
[
PIC
]);
ESpeedLevel
=
0
;
}
}
else
...
...
@@ -2689,17 +2690,23 @@ void AMT630H_GUI_BACKGRAND()
AMT630H_GUI_Fuel
(
2
);
AMT630H_GUI_Voltage
(
123
);
AMT630H_GUI_ODO
(
123456
);
if
(
Get_VechileSpeedValid
()
==
1
)
if
(
Get_VechileSpeedValid
()
==
1
)
{
AMT630H_GUI_VSpeed
(
Get_DispVechileSpeed
()
/
10
);
AMT630H_GUI_VSpeed
(
Get_DispVechileSpeed
()
/
10
);
}
else
{
AMT630H_GUI_VSpeed
(
0
);
}
AMT630H_GUI_ESpeed
(
1234
);
if
(
Get_EngineValid
()
==
1
)
{
AMT630H_GUI_ESpeed
(
Get_DispEngineSpeed
());
}
else
{
AMT630H_GUI_ESpeed
(
0
);
}
}
void
AMT630H_GUI_SETTING
()
{
if
(
Pic_mode
==
PIC_DAYTIME_CH
)
...
...
This diff is collapsed.
Click to expand it.
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