一个段码屏驱动多端数码管程序,这个LCD_LgcBuf[15]有什么含义吗
typedef union { unsigned char LCD_LgcBuf[15];//这段代码什么意思 struct unsigned char Sign_T5:1; unsigned char Sign_T16:1; unsigned char Sign_4F:1; unsigned char Sign_4E:1; }Sign_SEG1_2; { unsigned char Sign_4B:1; unsigned char Sign_4D:1; unsigned char Sign_5G:1; unsigned char Sign_T18:1; struct unsigned char Sign_5A:1; unsigned char Sign_5C:1; unsigned char Sign_6F:1; unsigned char Sign_6E:1; }Sign_SEG5_6; { unsigned char Sign_6B:1; unsigned char Sign_6D:1; unsigned char Sign_7G:1; unsigned char Sign_COL:1; struct unsigned char Sign_7A:1; unsigned char Sign_7C:1; unsigned char Sign_8F:1; unsigned char Sign_8E:1; }Sign_SEG9_10; { unsigned char Sign_8B:1; unsigned char Sign_8D:1; unsigned char Sign_9G:1; unsigned char Sign_P3:1; struct unsigned char Sign_9A:1; unsigned char Sign_9C:1; unsigned char Sign_10F:1; unsigned char Sign_10E:1; }Sign_SEG13_14; { unsigned char Sign_10B:1; unsigned char Sign_10D:1; unsigned char Sign_11G:1; unsigned char Sign_P5:1; struct unsigned char Sign_11A:1; unsigned char Sign_11C:1; unsigned char Sign_T22:1; unsigned char Sign_T23:1; }Sign_SEG17_18; { unsigned char Sign_T7:1; unsigned char Sign_T9:1; unsigned char Sign_T12:1; unsigned char Sign_T10:1; struct unsigned char Sign_3A:1; unsigned char Sign_3C:1; unsigned char Sign_3F:1; unsigned char Sign_3E:1; }Sign_SEG21_22; { unsigned char Sign_2B:1; unsigned char Sign_2D:1; unsigned char Sign_2G:1; //unsigned char Sign_:1; struct unsigned char Sign_1A:1; unsigned char Sign_1C:1; unsigned char Sign_1F:1; unsigned char Sign_1E:1; }Sign_SEG25_26; { unsigned char Sign_T2:1; unsigned char Sign_T3:1; unsigned char Sign_S11:1; unsigned char Sign_S9:1; struct unsigned char Sign_S5:1; unsigned char Sign_S7:1; unsigned char Sign_S4:1; unsigned char Sign_S2:1; }Sign_SEG29_30; }GStr_LcdBuf;
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
一周热门 更多>