Created Sat, 18 Oct 2014 20:24:55 +0000 by renaud
Sat, 18 Oct 2014 20:24:55 +0000
Hello,
I got the following error while compiling the Herkulex library on the Max32. The SoftwareSerial library in installed correctly. Thanks for your help,
Renaud
/Applications/mpide.app/Contents/Resources/Java/./hardware/pic32/libraries/Herkulex/Herkulex.cpp:48:8: error: 'SoftwareSerial' does not name a type
/Applications/mpide.app/Contents/Resources/Java/./hardware/pic32/libraries/Herkulex/Herkulex.cpp: In member function 'void HerkulexClass::begin(long int, int, int)':
/Applications/mpide.app/Contents/Resources/Java/./hardware/pic32/libraries/Herkulex/Herkulex.cpp:53:2: error: 'SwSerial' was not declared in this scope
/Applications/mpide.app/Contents/Resources/Java/./hardware/pic32/libraries/Herkulex/Herkulex.cpp: In member function 'void HerkulexClass::end()':
/Applications/mpide.app/Contents/Resources/Java/./hardware/pic32/libraries/Herkulex/Herkulex.cpp:88:3: error: 'SwSerial' was not declared in this scope
/Applications/mpide.app/Contents/Resources/Java/./hardware/pic32/libraries/Herkulex/Herkulex.cpp: In member function 'void HerkulexClass::sendData(byte*, int)':
/Applications/mpide.app/Contents/Resources/Java/./hardware/pic32/libraries/Herkulex/Herkulex.cpp:877:7: error: 'SwSerial' was not declared in this scope
/Applications/mpide.app/Contents/Resources/Java/./hardware/pic32/libraries/Herkulex/Herkulex.cpp: In member function 'void HerkulexClass::readData(int)':
/Applications/mpide.app/Contents/Resources/Java/./hardware/pic32/libraries/Herkulex/Herkulex.cpp:907:16: error: 'SwSerial' was not declared in this scope
/Applications/mpide.app/Contents/Resources/Java/./hardware/pic32/libraries/Herkulex/Herkulex.cpp:912:10: error: 'SwSerial' was not declared in this scope
/Applications/mpide.app/Contents/Resources/Java/./hardware/pic32/libraries/Herkulex/Herkulex.cpp:923:3: error: 'SwSerial' was not declared in this scope
/Applications/mpide.app/Contents/Resources/Java/./hardware/pic32/libraries/Herkulex/Herkulex.cpp: In member function 'void HerkulexClass::clearBuffer()':
/Applications/mpide.app/Contents/Resources/Java/./hardware/pic32/libraries/Herkulex/Herkulex.cpp:993:17: error: 'SwSerial' was not declared in this scope
Sun, 19 Oct 2014 10:06:52 +0000
I have no idea what (or where) the Herkulex library might be, but I do know that the chipKIT SoftwareSerial library is very old and doesn't work the same as modern Arduino SoftwareSerial libraries. Is the Herkulex library designed to work with the chipKIT SoftwareSerial library, or are you trying to use an Arduino SoftwareSerial library on a chipKIT board?