2013-12-2 11:27:24 [显示全部楼层]
5997浏览
查看: 5997|回复: 1

[已解决] LCD12864RSPI例子提示出错

[复制链接]
我是用的是Arduino1.0.5的版本,编译的时候提示以下问题,怎么解决?
C:\Program Files (x86)\Arduino\libraries\LCD12864RSPI\LCD12864RSPI.cpp: In member function 'void LCD12864RSPI::delayns()':
C:\Program Files (x86)\Arduino\libraries\LCD12864RSPI\LCD12864RSPI.cpp:28: error: 'delayMicroseconds' was not declared in this scope
C:\Program Files (x86)\Arduino\libraries\LCD12864RSPI\LCD12864RSPI.cpp: In member function 'void LCD12864RSPI::WriteByte(int)':
C:\Program Files (x86)\Arduino\libraries\LCD12864RSPI\LCD12864RSPI.cpp:34: error: 'HIGH' was not declared in this scope
C:\Program Files (x86)\Arduino\libraries\LCD12864RSPI\LCD12864RSPI.cpp:34: error: 'digitalWrite' was not declared in this scope
C:\Program Files (x86)\Arduino\libraries\LCD12864RSPI\LCD12864RSPI.cpp:36: error: 'MSBFIRST' was not declared in this scope
C:\Program Files (x86)\Arduino\libraries\LCD12864RSPI\LCD12864RSPI.cpp:36: error: 'shiftOut' was not declared in this scope
C:\Program Files (x86)\Arduino\libraries\LCD12864RSPI\LCD12864RSPI.cpp:37: error: 'LOW' was not declared in this scope
C:\Program Files (x86)\Arduino\libraries\LCD12864RSPI\LCD12864RSPI.cpp: In member function 'void LCD12864RSPI::Initialise()':
C:\Program Files (x86)\Arduino\libraries\LCD12864RSPI\LCD12864RSPI.cpp:72: error: 'OUTPUT' was not declared in this scope
C:\Program Files (x86)\Arduino\libraries\LCD12864RSPI\LCD12864RSPI.cpp:72: error: 'pinMode' was not declared in this scope
C:\Program Files (x86)\Arduino\libraries\LCD12864RSPI\LCD12864RSPI.cpp:75: error: 'LOW' was not declared in this scope
C:\Program Files (x86)\Arduino\libraries\LCD12864RSPI\LCD12864RSPI.cpp:75: error: 'digitalWrite' was not declared in this scope

mickey  NPC

发表于 2013-12-2 13:03:49

这个库文件和例程已经没有维护了,推荐使用U8glib,下载地址:http://code.google.com/p/u8glib/downloads/list
回复

使用道具 举报

高级模式
B Color Image Link Quote Code Smilies |上传

本版积分规则

为本项目制作心愿单
购买心愿单
心愿单 编辑
[[wsData.name]]

硬件清单

  • [[d.name]]
btnicon
我也要做!
点击进入购买页面
关于楼主

楼主的其它帖子

上海智位机器人股份有限公司 沪ICP备09038501号-4

© 2013-2024 Comsenz Inc. Powered by Discuz! X3.4 Licensed

mail