本帖最后由 gcxzhz 于 2014-4-30 21:22 编辑
#define x_size (sizeof(x)/sizeof(x[0])) //宏定义求得字模 数组里的个
const uint16_t x[] =
{
0x8FFF,0x07FF,0x03FE,0x03FC,0x03F8,0x07F0,0x0FE0,0x1FC0,0x0FE0,0x07F0,0x03F8,0x03FC,0x03FE,0x07FF,0x8FFF,0xFFFF//"心型",0/* (16 X 16 ) */};
};
review((uint16_t *)x,x_size,32,112,1);
(uint16_t *)x 使用的时候强制转换为指针
|