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
这个库文件和例程已经没有维护了,推荐使用U8glib,下载地址:http://code.google.com/p/u8glib/downloads/list
页:
[1]