Cast 0 as byte before calling Serial.write.
This commit is contained in:
@@ -26,7 +26,7 @@ namespace NotebookAdapter {
|
||||
case COMMAND_QUERY:
|
||||
if (command_mode) {
|
||||
Serial.print(COMMAND_QUERY_PAYLOAD);
|
||||
Serial.write(0);
|
||||
Serial.write((byte)0);
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user