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
c2cd0952
Commit
c2cd0952
authored
Sep 29, 2024
by
张金硕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
✨
feat:新增清大计三秒后五色自检
parent
2d8a2c3c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
46 additions
and
4 deletions
+46
-4
AMT630H_Datas.c
Firmware/Source/Component/AMT630H/AMT630H_Datas.c
+39
-1
PicBin.c
Firmware/Source/Component/AMT630H/PicBin.c
+1
-1
PicBin.h
Firmware/Source/Component/AMT630H/PicBin.h
+6
-2
No files found.
Firmware/Source/Component/AMT630H/AMT630H_Datas.c
View file @
c2cd0952
...
@@ -19,6 +19,7 @@ uint16_t g_u16espeednumberdown = 300;
...
@@ -19,6 +19,7 @@ uint16_t g_u16espeednumberdown = 300;
uint16_t
g_u16voltagenumberup
=
0
;
uint16_t
g_u16voltagenumberup
=
0
;
uint16_t
g_u16voltagenumberdown
=
160
;
uint16_t
g_u16voltagenumberdown
=
160
;
uint8_t
Voltage_Selfcheck
=
1
;
uint8_t
Voltage_Selfcheck
=
1
;
uint8_t
TFT_SelfCheck
=
0
;
//自检函数
//自检函数
void
AMT630H_GUI_BACKGRAND_SelfCheck
(
void
);
void
AMT630H_GUI_BACKGRAND_SelfCheck
(
void
);
...
@@ -62,7 +63,44 @@ void AMT630H_GUI_Background()
...
@@ -62,7 +63,44 @@ void AMT630H_GUI_Background()
{
{
if
(
g_u8SelfCheck
==
1
)
if
(
g_u8SelfCheck
==
1
)
{
{
AMT630H_GUI_ReadPosittion_Display
();
if
(
ClearODO_Flag
==
1
)
{
TFT_SelfCheck
++
;
if
(
TFT_SelfCheck
<
60
)
{
AMT630H_GUI_ReadPosittion_Display
();
}
else
if
(
TFT_SelfCheck
<
80
)
{
SetPagePic
(
GRAPHICS_PAGE_0
,
Pic_0382_0_0
);
}
else
if
(
TFT_SelfCheck
<
100
)
{
SetPagePic
(
GRAPHICS_PAGE_0
,
Pic_0001_0_0
);
}
else
if
(
TFT_SelfCheck
<
120
)
{
SetPagePic
(
GRAPHICS_PAGE_0
,
Pic_0755_0_0
);
}
else
if
(
TFT_SelfCheck
<
140
)
{
SetPagePic
(
GRAPHICS_PAGE_0
,
Pic_0945_0_0
);
}
else
if
(
TFT_SelfCheck
<
160
)
{
SetPagePic
(
GRAPHICS_PAGE_0
,
Pic_0757_0_0
);
}
else
{
SetPagePic
(
GRAPHICS_PAGE_0
,
Pic_0757_0_0
);
TFT_SelfCheck
=
60
;
}
}
else
{
AMT630H_GUI_ReadPosittion_Display
();
}
}
}
else
else
{
{
...
...
Firmware/Source/Component/AMT630H/PicBin.c
View file @
c2cd0952
...
@@ -119,7 +119,7 @@ static const uint16_t PicIndexData[] = {
...
@@ -119,7 +119,7 @@ static const uint16_t PicIndexData[] = {
Pic_0898
,
14
,
637
,
293
,
Pic_0897
,
15
,
637
,
292
,
Pic_0919
,
11
,
640
,
293
,
Pic_0920
,
12
,
639
,
293
,
Pic_0921
,
14
,
638
,
293
,
Pic_0922
,
14
,
638
,
292
,
Pic_0923
,
14
,
638
,
293
,
Pic_0924
,
15
,
637
,
293
,
Pic_0925
,
221
,
501
,
160
,
Pic_0926
,
50
,
619
,
240
,
Pic_0898
,
14
,
637
,
293
,
Pic_0897
,
15
,
637
,
292
,
Pic_0919
,
11
,
640
,
293
,
Pic_0920
,
12
,
639
,
293
,
Pic_0921
,
14
,
638
,
293
,
Pic_0922
,
14
,
638
,
292
,
Pic_0923
,
14
,
638
,
293
,
Pic_0924
,
15
,
637
,
293
,
Pic_0925
,
221
,
501
,
160
,
Pic_0926
,
50
,
619
,
240
,
Pic_0926
,
50
,
619
,
175
,
Pic_0927
,
50
,
619
,
240
,
Pic_0927
,
50
,
619
,
175
,
Pic_0928
,
75
,
894
,
310
,
Pic_0929
,
75
,
894
,
310
,
Pic_0930
,
64
,
612
,
240
,
Pic_0930
,
64
,
612
,
175
,
Pic_0931
,
64
,
612
,
240
,
Pic_0931
,
64
,
612
,
175
,
Pic_0932
,
777
,
124
,
85
,
Pic_0926
,
50
,
619
,
175
,
Pic_0927
,
50
,
619
,
240
,
Pic_0927
,
50
,
619
,
175
,
Pic_0928
,
75
,
894
,
310
,
Pic_0929
,
75
,
894
,
310
,
Pic_0930
,
64
,
612
,
240
,
Pic_0930
,
64
,
612
,
175
,
Pic_0931
,
64
,
612
,
240
,
Pic_0931
,
64
,
612
,
175
,
Pic_0932
,
777
,
124
,
85
,
Pic_0933
,
317
,
101
,
210
,
Pic_0934
,
209
,
102
,
260
,
Pic_0935
,
461
,
36
,
367
,
Pic_0936
,
350
,
92
,
367
,
Pic_0937
,
323
,
564
,
521
,
Pic_0938
,
41
,
62
,
399
,
Pic_0939
,
41
,
62
,
401
,
Pic_0940
,
155
,
53
,
498
,
Pic_0941
,
1521
,
0
,
470
,
Pic_0942
,
46
,
634
,
551
,
Pic_0933
,
317
,
101
,
210
,
Pic_0934
,
209
,
102
,
260
,
Pic_0935
,
461
,
36
,
367
,
Pic_0936
,
350
,
92
,
367
,
Pic_0937
,
323
,
564
,
521
,
Pic_0938
,
41
,
62
,
399
,
Pic_0939
,
41
,
62
,
401
,
Pic_0940
,
155
,
53
,
498
,
Pic_0941
,
1521
,
0
,
470
,
Pic_0942
,
46
,
634
,
551
,
Pic_0943
,
28
,
751
,
555
,
Pic_0943
,
28
,
751
,
555
,
Pic_0944
,
124
,
53
,
462
,
Pic_0945
,
1024
,
0
,
0
,
};
};
#define PicIndexData_LEN 14888
#define PicIndexData_LEN 14888
//uint32_t PicIndexDataLEN = 0;
//uint32_t PicIndexDataLEN = 0;
...
...
Firmware/Source/Component/AMT630H/PicBin.h
View file @
c2cd0952
#ifndef PICBIN_H
#ifndef PICBIN_H
#define PICBIN_H
#define PICBIN_H
/* Flash Bin Version:2024092
4 2024-09-24 11:37:38
Compression ratio:70.00% */
/* Flash Bin Version:2024092
9 2024-09-29 13:03:00
Compression ratio:70.00% */
#define Pic_0001 1
#define Pic_0001 1
#define Pic_0002 2
#define Pic_0002 2
#define Pic_0003 3
#define Pic_0003 3
...
@@ -945,6 +945,8 @@
...
@@ -945,6 +945,8 @@
#define Pic_0941 941
#define Pic_0941 941
#define Pic_0942 942
#define Pic_0942 942
#define Pic_0943 943
#define Pic_0943 943
#define Pic_0944 944
#define Pic_0945 945
enum
{
enum
{
Pic_0001_0_0
=
0
,
Pic_0001_0_0
=
0
,
...
@@ -2133,10 +2135,12 @@ enum {
...
@@ -2133,10 +2135,12 @@ enum {
Pic_0941_0_470
,
Pic_0941_0_470
,
Pic_0942_634_551
,
Pic_0942_634_551
,
Pic_0943_751_555
,
Pic_0943_751_555
,
Pic_0944_53_462
,
Pic_0945_0_0
,
};
};
#define PIC_INDEX_DATA_CRC 0x
8509F1BE
#define PIC_INDEX_DATA_CRC 0x
06087C97
extern
void
User_PicIndexDataInit
(
void
);
extern
void
User_PicIndexDataInit
(
void
);
#endif
#endif
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