From 426931e01bd3cd5c8e9530a3eebd0155db5901e7 Mon Sep 17 00:00:00 2001 From: ackimixs Date: Sat, 4 May 2024 11:21:35 +0200 Subject: [PATCH] bauds --- MyTCPClient.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/MyTCPClient.cpp b/MyTCPClient.cpp index 1e21702..0513392 100644 --- a/MyTCPClient.cpp +++ b/MyTCPClient.cpp @@ -52,6 +52,7 @@ void MyTCPClient::handleMessage(const std::string &message) { } else if (token[2] == "set pos") { std::vector args = TCPSocket::split(token[3], ","); std::string command = "S " + std::to_string(std::stoi(args[0])) + " " + std::to_string(std::stoi(args[1])) + " " + args[2] + "\n"; + std::cout << command << std::endl; if (this->write_2_arduino(command) != 1) { std::cerr << "Error writing to arduino" << std::endl; }