setRAW in Serial

This commit is contained in:
2021-08-30 12:49:32 +02:00
parent 88e0d4a241
commit f30158383b
3 changed files with 24 additions and 1 deletions

View File

@@ -152,6 +152,7 @@ int main(int argc, char* argv[])
serial.setTimeout(posix_time::seconds(5));
serial.setDTR(false);
serial.setRTS(false);
serial.setRAW();
boost::this_thread::sleep(posix_time::milliseconds(5000));
line = serial.readStringUntil("\n");