It would be handy in the IDE to be able to redirect serial input/ouput in the serial monitor window to/from other files.
For instance, when using Serial.print (
) to generate debugging data, it is sometimes useful to gather that data in a file to plot or analyze. Currently there is no way to pause/continue the serial monitor window (see this suggestion
). This makes it hard, other than by disconnecting the USB cable, to grab text data from the monitor window.
Hence, a redirection capability could be useful.