zhouhuoyan的个人主页

http://home.ntpcb.com/u.php?uid=97051  [收藏] [复制]

zhouhuoyan

  • 15

    关注

  • 13

    粉丝

  • 118

    访客

  • 等级:二级逆天
  • 总积分:3313
  • 男,1988-07-24

最后登录:2024-03-27

更多资料

日志

请看看这个MDK编译错误怎么修改?

2021-01-12 09:11

如题,制作了一个表格,96*96点阵的字符库,出现以下错误:
a value of type "char *" cannot be used to initialize an entity of type "char"
怎么办?这个错误出现在“升”,等第二以及以后的汉字上,我拷贝没问题的例程实验,发现问题出在"降","升",之间的字符数量上,超过128个数据就不行了
typedef struct
{
       unsigned char Index[2];        
       char Msk[1024];
}typFNT_GB96;
  
const typFNT_GB96 tfont96[]=
{
"降",
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
1024个数据
"升",
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
1024个数据


使用特权


分类:默认分类|回复:0|浏览:450|全站可见|转载
 

下一篇: MCU升级程序的方式

上一篇: 什么是EAS系统

Powered by phpwind v8.7.1 Certificate Copyright Time now is:03-29 20:14
©2003-2011 逆天PCB论坛 版权所有 Gzip disabled 粤ICP备14042835号 问题咨询 | 广告业务点这里