C语言版上市:
- #include"stdio.h"
- char wu16Y[]={
- 0x00,0x02,0x00,0x0A,0xFC,0x12,0x00,0x12,0x00,0x02,0xFF,0x7F,0x00,0x02,0x20,0x02,
- 0x20,0x02,0xE4,0x02,0x24,0x04,0x24,0x44,0x24,0x48,0xE4,0x51,0x1F,0x60,0x02,0x40,
- };
- int main(void)
- {
- char i,j;
- for(i = 0;i < 32;i++)
- {
- if((i > 0) & (i %2 ==0))
- {
- printf("\n");
- }
- for(j = 0;j < 8;j++)
- {
- if((wu16Y[i]>>j) & 0x01 == 0x01)
- {
- printf("*");
- }
- else
- {
- printf(" ");
- }
- }
- }
- }
复制代码 |