用74164写了个串口转并口的lcd显示程序 编译有2个警告 显示不了
警告为
Executing: "C:Program FilesHI-TECH SoftwarePICC9.80inpicc.exe" --pass1 "D:pic cccpppt.c" -q --chip=16F883 -P --runtime=default --opt=default -D__DEBUG=1 -g --asmlist "--errformat=Error [%n] %f; %l.%c %s" "--msgformat=Advisory[%n] %s" "--warnformat=Warning [%n] %f; %l.%c %s"
Warning [359] D:pic cccpppt.c; 141.27 illegal conversion between pointer types
pointer to const unsigned char -> pointer to unsigned char
Warning [359] D:pic cccpppt.c; 145.28 illegal conversion between pointer types
pointer to const unsigned char -> pointer to unsigned char
此警告是关于void LCD_write_str(uchar x,uchar y, uchar *s)函数的 看了半天找不出错误来 各位帮忙看看
片子是pic16f883
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
一周热门 更多>