mirror of
https://github.com/modelec/connectors.git
synced 2026-03-18 21:50:33 +01:00
clear
This commit is contained in:
@@ -63,7 +63,11 @@ void MyTCPClient::handleMessage(const std::string &message) {
|
||||
std::cerr << "Error writing to arduino" << std::endl;
|
||||
}
|
||||
} else if (token[2] == "clear") {
|
||||
if (this->write_2_arduino(" ") != 1) {
|
||||
/*if (this->write_2_arduino(" ") != 1) {
|
||||
std::cerr << "Error writing to arduino" << std::endl;
|
||||
}*/
|
||||
|
||||
if (this->write_2_arduino("0") != 1) {
|
||||
std::cerr << "Error writing to arduino" << std::endl;
|
||||
}
|
||||
} else if (token[2] == "get pos") {
|
||||
|
||||
Reference in New Issue
Block a user