diff --git a/main.cpp b/main.cpp index 59f1b04..1f6b690 100644 --- a/main.cpp +++ b/main.cpp @@ -31,6 +31,8 @@ int main(int argc, char *argv[]) { std::string toSend = "G " + line + "\n"; + std::cout << toSend << std::endl; + serial.writeBytes(toSend.c_str(), toSend.length()); serial.closeDevice();