Open cdupont opened 3 years ago
as i recall cat has buffering issues when you change baudrate - you see the previous output when you make the baudrate faster or something?
also stty is probably more unknown than screen and has differences between macos and linux versions.
you can change MONITOR_CMD in your local Makefile or bind ctrl-c to the kill command in gnu-screen
I would say that a more important reason is that cat is uni-directional: you cannot type any text to your arduino serial port and expect it to be readable using Serial.read or Serial.readBytes, while with gnu-screen you can.
I see Arduino-Makefile uses "screen" for the monitor. However, it's not very well know for many users... Why not using a simple "cat"? I use this:
It works well. You can quit with Ctrl-C.