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
4d749bfa
Commit
4d749bfa
authored
Sep 05, 2025
by
何锐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
✨
feat:上电扫码版程序
parent
00f9196a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
6 deletions
+15
-6
Check_Ctrl.c
YueJin_test_bench/source/Appliciation/Check_Ctrl.c
+1
-1
Display_Info.c
YueJin_test_bench/source/Appliciation/Display_Info.c
+1
-1
Key_user.c
YueJin_test_bench/source/Appliciation/Key_user.c
+13
-4
No files found.
YueJin_test_bench/source/Appliciation/Check_Ctrl.c
View file @
4d749bfa
...
...
@@ -302,7 +302,7 @@ uint8_t yibiaoshuju[34];
}
uint8_t
writesuccess
[
8
]
=
{
0x53
,
0x55
,
0x43
,
0x43
,
0x45
,
0x53
,
0x53
,
0xff
};
General_Number_Disp
(
writesuccess
,
3
,
125
);
//
General_Number_Disp(writesuccess, 3, 125);
mimaread
[
34
]
=
0xFF
;
General_Number_Disp
(
mimaread
,
3
,
200
);
...
...
YueJin_test_bench/source/Appliciation/Display_Info.c
View file @
4d749bfa
...
...
@@ -3814,7 +3814,7 @@ void Display_Version_Info(uint32_t ON_OFF)
// TFT_LCD_Draw_Bmp(3, 160, ( uint8_t * )gImage_Alarm_12_WordX6_Y165); //24脚输出占空比
// TFT_LCD_Draw_Bmp(210, 160, ( uint8_t * )gImage_Alarm_13_ImageX222_Y166); //%
TFT_LCD_Draw_Bmp
(
3
,
290
,
(
uint8_t
*
)
gImage_gImage_checkVX6_Y165
);
//检测台版本号
uint8_t
mbuff
[
7
]
=
{
2
,
5
,
0
,
9
,
0
,
1
,
0xff
};
uint8_t
mbuff
[
7
]
=
{
2
,
5
,
0
,
9
,
0
,
8
,
0xff
};
General_Number_Disp
(
mbuff
,
160
,
290
);
}
...
...
YueJin_test_bench/source/Appliciation/Key_user.c
View file @
4d749bfa
...
...
@@ -14,10 +14,15 @@ void Key_Operation_SW5(Key_Event_en_t enKeyEvent) //下一步
if
(
firstpowerflag
==
2
)
{
if
(
saomafinish
==
3
)
{
MENU_CHECK_STEP_ADD
(
);
{
zhenduansendStep
=
0
;
zhenduanflag
=
0
;
MENU_CHECK_STEP
=
0
;
saomafinish
=
4
;
}
else
if
(
saomafinish
==
4
)
{
MENU_CHECK_STEP_ADD
();
}
}
}
...
...
@@ -78,10 +83,14 @@ void Key_Operation_SW7(Key_Event_en_t enKeyEvent)
// upkeyflag = 1; //按键加
if
(
firstpowerflag
==
2
)
{
if
(
zhenduanflag
==
1
)
// if(zhenduanflag == 1)
// {
if
(
saomafinish
==
0
)
{
zhenduansendStep
=
5
;
zhenduanflag
=
1
;
}
// }
}
}
else
if
(
enKeyEvent
==
KEY_EVENT_LONG_PRESS
)
...
...
@@ -98,7 +107,7 @@ void Key_Operation_SW8(Key_Event_en_t enKeyEvent)
{
if
(
enKeyEvent
==
KEY_EVENT_SHORT_PRESS
)
{
zhenduanflag
=
1
;
//
zhenduanflag = 1;
}
else
if
(
enKeyEvent
==
KEY_EVENT_LONG_PRESS
)
{
...
...
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