wulin 发表于 2020-3-2 07:05
楼主按地址顺序写,部分字符溢出屏外。一屏分4行写,首地址分别是 0x80、0x90、0x88、0x98。
藏月亮 发表于 2020-3-2 18:06
师傅,还得请您赐教
uchar table1[16] = "朝辞白帝彩云间,";
uchar table2[16] = "千里江陵一日还。"; ...
藏月亮 发表于 2020-3-2 18:06
师傅,还得请您赐教
uchar table1[16] = "朝辞白帝彩云间,";
uchar table2[16] = "千里江陵一日还。"; ...
adject 发表于 2020-3-2 22:50
uchar table[4][]={{"梨花淡白柳深青, 柳絮飞时花满城。惆怅东栏一株雪,人生看的几清明。"}
...
man1234567 发表于 2020-3-3 08:39
void write_word(uchar *add) //用指针
{ uchar i,j;
for(j=0;j
藏月亮 发表于 2020-3-3 15:12
老师。您好,我把您写的代码移植到程序里后,屏上显示乱码,现在我把自己的代码发来。您看看该如何修改, ...
藏月亮 发表于 2020-3-2 18:06
师傅,还得请您赐教
uchar table1[16] = "朝辞白帝彩云间,";
uchar table2[16] = "千里江陵一日还。"; ...
adject 发表于 2020-3-3 16:07
0x80 //第1行首地址
0x90 //第2行首地址
0x88 //第3行首地址
藏月亮 发表于 2020-3-8 23:20
以下是在12864液晶屏上正常显示的代码,感谢各位前辈的赐教,在最后有个问题请教
#include
/*********** ...
欢迎光临 (http://www.51hei.com/bbs/) | Powered by Discuz! X3.1 |