因为mplab ide不支持汉字字符数组,没办法只能将汉字转成16进制
在网上找到一个小软件 字符内码提取器,转化以下即可
http://download.youkuaiyun.com/detail/hit97/3727396
unsigned char const sw[]={0xCE,0xC2,0xB6,0xC8};//温度
unsigned char const ssd[]={0xA1,0xE6};//℃
unsigned char const sd[]={0xCA,0xAA,0xB6,0xC8};//湿度
本文介绍了一种在MPLAB IDE环境下将汉字转化为16进制编码的方法,通过使用字符内码提取器软件实现汉字在代码中的正确显示。
1155

被折叠的 条评论
为什么被折叠?



