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
b1ba66f7
Commit
b1ba66f7
authored
Nov 21, 2025
by
何锐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
✨
feat:增加初始化判定
parent
34334657
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
27 deletions
+27
-27
Barcode_Scanner.c
YueJin_test_bench/source/Appliciation/Barcode_Scanner.c
+2
-2
Check_Ctrl.c
YueJin_test_bench/source/Appliciation/Check_Ctrl.c
+24
-24
Display_Info.c
YueJin_test_bench/source/Appliciation/Display_Info.c
+1
-1
No files found.
YueJin_test_bench/source/Appliciation/Barcode_Scanner.c
View file @
b1ba66f7
...
...
@@ -177,8 +177,8 @@ void datacheck(void)
blename
[
2
]
=
RS485_data
[
8
];
blename
[
3
]
=
RS485_data
[
9
];
blename
[
4
]
=
0xff
;
lightnumber
=
(
RS485_data
[
1
1
]
<<
8
)
+
RS485_data
[
10
];
writeflag
=
RS485_data
[
1
2
];
lightnumber
=
(
RS485_data
[
1
2
]
<<
8
)
+
RS485_data
[
11
];
writeflag
=
RS485_data
[
1
3
];
}
// General_Number_Disp(blename, 3, 165);
...
...
YueJin_test_bench/source/Appliciation/Check_Ctrl.c
View file @
b1ba66f7
...
...
@@ -267,14 +267,14 @@ uint8_t yibiaoshuju[34];
General_Number_Disp
(
erweima
,
3
,
60
);
//
if(writeflag == 1 || writeflag == 3)
//
{
//
TFT_LCD_Draw_Bmp(200, 90+40, ( uint8_t * )gImage_dui12 );
//
}
//
else
//
{
//
TFT_LCD_Draw_Bmp(200, 90+40, ( uint8_t * )gImage_cuo12 );
//
}
if
(
writeflag
==
1
||
writeflag
==
3
)
{
TFT_LCD_Draw_Bmp
(
200
,
90
+
40
,
(
uint8_t
*
)
gImage_dui12
);
}
else
{
TFT_LCD_Draw_Bmp
(
200
,
90
+
40
,
(
uint8_t
*
)
gImage_cuo12
);
}
}
else
if
(
saomafinish
==
1
)
{
...
...
@@ -291,14 +291,14 @@ uint8_t yibiaoshuju[34];
erweima
[
34
]
=
0xFF
;
General_Number_Disp
(
erweima
,
3
,
60
);
//
if(writeflag == 1 || writeflag == 3)
//
{
//
TFT_LCD_Draw_Bmp(200, 90+40-5, ( uint8_t * )gImage_dui12 );
//
}
//
else
//
{
//
TFT_LCD_Draw_Bmp(200, 90+40-5, ( uint8_t * )gImage_cuo12 );
//
}
if
(
writeflag
==
1
||
writeflag
==
3
)
{
TFT_LCD_Draw_Bmp
(
200
,
90
+
40
-
5
,
(
uint8_t
*
)
gImage_dui12
);
}
else
{
TFT_LCD_Draw_Bmp
(
200
,
90
+
40
-
5
,
(
uint8_t
*
)
gImage_cuo12
);
}
uint8_t
writesuccess
[
8
]
=
{
0x53
,
0x55
,
0x43
,
0x43
,
0x45
,
0x53
,
0x53
,
0xff
};
General_Number_Disp
(
writesuccess
,
3
,
125
);
}
...
...
@@ -308,14 +308,14 @@ uint8_t yibiaoshuju[34];
erweima
[
34
]
=
0xFF
;
General_Number_Disp
(
erweima
,
3
,
60
);
//
if(writeflag == 1 || writeflag == 3)
//
{
//
TFT_LCD_Draw_Bmp(200, 90+40-5, ( uint8_t * )gImage_dui12 );
//
}
//
else
//
{
//
TFT_LCD_Draw_Bmp(200, 90+40-5, ( uint8_t * )gImage_cuo12 );
//
}
if
(
writeflag
==
1
||
writeflag
==
3
)
{
TFT_LCD_Draw_Bmp
(
200
,
90
+
40
-
5
,
(
uint8_t
*
)
gImage_dui12
);
}
else
{
TFT_LCD_Draw_Bmp
(
200
,
90
+
40
-
5
,
(
uint8_t
*
)
gImage_cuo12
);
}
uint8_t
writesuccess
[
8
]
=
{
0x53
,
0x55
,
0x43
,
0x43
,
0x45
,
0x53
,
0x53
,
0xff
};
General_Number_Disp
(
writesuccess
,
3
,
125
);
...
...
YueJin_test_bench/source/Appliciation/Display_Info.c
View file @
b1ba66f7
...
...
@@ -4902,7 +4902,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,1,1,2,
0
,0xff};
uint8_t mbuff [7] = {2,5,1,1,2,
1
,0xff};
General_Number_Disp(mbuff, 160, 290);
}
...
...
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