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 |
© 2013-2024 Comsenz Inc. Powered by Discuz! X3.4 Licensed