I am trying to send plottable data through a different port.
metalgimp:
I am trying to send plottable data through a different port.
Different from what? The PC determines which port the Arduino is connected to. You can't make the Arduino change that.
Select the port in the Tools > Port menu.
PaulS:
Different from what? The PC determines which port the Arduino is connected to. You can't make the Arduino change that.
I would like the "serial plotter" to listen to a different port than /dev/ttyACM0. I have a FTDI cable that gets assigned to /dev/ttyUSB0.
Start a second instance of the IDE, select a different port and open serial plotter.
Or use picocom in a terminal to look at the data, e.g.
#exit is C-a, C-x
picocom -b 38400 /dev/ttyUSB0
To get a plot of the data I log it to a csv file
script -f -c "picocom -b 38400 /dev/ttyUSB0" stuff.csv
and then open that with LibreOffice Calc to make the plot and do other stuff.
ron_sutherland:
Or use picocom in a terminal to look at the data, e.g.#exit is C-a, C-x
picocom -b 38400 /dev/ttyUSB0
To get a plot of the data I log it to a csv file
script -f -c "picocom -b 38400 /dev/ttyUSB0" stuff.csv
and then open that with LibreOffice Calc to make the plot and do other stuff.
Okay, it seems that there's no direct path. It's okay, I can write a real time plotter.