|
楼主 |
发表于 2021-9-15 23:34:22
|
显示全部楼层
void DgusDeleteYaxis(uint16_t X,uint16_t Ys,uint16_t Ye,uint16_t Y)
{
uint8_t str[19];
uint16_t Colour;
str[0]=Header;
str[1]=0x74;
str[2]=Byte1(X);
str[3]=Byte0(X);
str[4]=Byte1(Ys);
str[5]=Byte0(Ys);
str[6]=Byte1(Ye);
str[7]=Byte0(Ye);
Colour=DGUS_BC_BLACK;
str[8]=Byte1(Colour);
str[9]=Byte0(Colour);
str[10]=Byte1(Y);
str[11]=Byte0(Y);
Colour=DGUS_FC_GREEN;
str[12]=Byte1(Colour);
str[13]=Byte0(Colour);
str[14]=Tail1;
str[15]=Tail2;
str[16]=Tail3;
str[17]=Tail4;
SendData(str,18, G_CHIP_UART_2);
} |
|