PaulS:
#include "myLibrary.cpp"
You should not be including source files in sketches. You only include header files.
File names are case sensitive. myLibrary.cpp and MyLibrary.h don't play together.
Agreed, That is not what I intended, so back to the current compilation errors;
HardwareSerialClassExampleSplit.cpp.o: In function setup': C:\Users\Kb\AppData\Local\Temp\build6312645766259194773.tmp/HardwareSerialClassExampleSplit.cpp:7: undefined reference to
MyLibrary::MyLibrary(HardwareSerial&)'
C:\Users\Kb\AppData\Local\Temp\build6312645766259194773.tmp/HardwareSerialClassExampleSplit.cpp:9: undefined reference to `MyLibrary::test()'
Any idea why I am getting an undefined reference to `MyLibrary::MyLibrary(HardwareSerial&) error?
Cheers Kb