Commit c2cd0952 authored by 张金硕's avatar 张金硕

feat:新增清大计三秒后五色自检

parent 2d8a2c3c
...@@ -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
{ {
......
...@@ -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;
......
#ifndef PICBIN_H #ifndef PICBIN_H
#define PICBIN_H #define PICBIN_H
/* Flash Bin Version:20240924 2024-09-24 11:37:38 Compression ratio:70.00% */ /* Flash Bin Version:20240929 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 0x8509F1BE #define PIC_INDEX_DATA_CRC 0x06087C97
extern void User_PicIndexDataInit(void); extern void User_PicIndexDataInit(void);
#endif #endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment