if (!Serial.available()) {
return;
}
Useless code. Get rid of it.
The Messenger library expects ASCII data. You are not sending ASCII data from the C# program to the Arduino. Why do you think that you can then use the Messenger library?
if (!Serial.available()) {
return;
}
Useless code. Get rid of it.
The Messenger library expects ASCII data. You are not sending ASCII data from the C# program to the Arduino. Why do you think that you can then use the Messenger library?