PaulS:
You need to construct the SoftwareSerial instance at the same time you construct the class:Library::Library() , mySerial(2,3)
Probably a typo, sholuld be (in the cpp file):
Library::Library() : mySerial(2,3) {
// code
}
PaulS:
You need to construct the SoftwareSerial instance at the same time you construct the class:Library::Library() , mySerial(2,3)
Probably a typo, sholuld be (in the cpp file):
Library::Library() : mySerial(2,3) {
// code
}