pic的mplab环境下液晶汉字的显示

 

因为mplab ide不支持汉字字符数组,没办法只能将汉字转成16进制
在网上找到一个小软件 字符内码提取器,转化以下即可

 http://download.csdn.net/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};//湿度


 

原文地址:https://www.cnblogs.com/pulan/p/2921605.html