完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
你好,这应该是一个简单的问题,这里的人,但我是新的C编程。我已经在网站上搜索了很多线程和示例,并尝试将这些应用到我的项目中,但它仍然不起作用。我可以向LCD 16x4发送显示号0和9,而不能发送字串显示。不是我的作品,是这个还是这个。我试着去调试它们。看起来程序没有进入循环(while或for)。请帮助,BANKEDIT插入源代码。 以上来自于百度翻译 以下为原文 Hello, This should be an easy question for people here but I am new to C programming. I have searched a lot of thread and example on the website and tried to apply those to my project but it is still not working. I can send the display number 0-9 and a character 'a' to the LCD 16x4 but I cannot send the word string to display. Look like these functions work on many projects but it does not work for me. this one void LCD_DisplayString(const char *StrC) { while(*StrC) writeLcdData(*StrC++); } Or this one. void LCD_write_string(unsigned char *str) { int i=0; while(str!=' |