Small error in OpenThermMaster_Demo example
colinl opened this issue · 1 comments
colinl commented
In OpenThermMaster_Demo.ino lines 58 onwards read
else if (responseStatus == OpenThermResponseStatus::INVALID) {
Serial.println("Error: Invalid response " + String(response, HEX));
}
I believe this is printing the wrong variable, it should be
else if (responseStatus == OpenThermResponseStatus::INVALID) {
Serial.println("Error: Invalid response " + String(responseStatus, HEX));
}
colinl commented
Perhaps I am wrong. I think I had misinterpreted the code.