download listener app.
mine is: arduino-plotter-listener-linux64.zip
extracted folder contains the executable file: listener
sketch:
#include "Plotter.h"
globals:
Any variable that you want to plot must be declared as a global variable.
Plotter p; // starts the plotter instance
setup:
p.Begin(); // start plotter
p.AddTimeGraph( "Some title of a graph", 500, "label for x", x ); // x is the variable that will be plotted
multiple variables can be plotted:
AddTimeGraph([graph title in quotes], [not sure what this number is... # of points plotted?], [label for firstVar, in quotes], [firstVarName], [label for secondVar, in quotes], [secondVarName], ..., [label for nth var, in quotes], [nthVarName] );
loop:
update your plotted variable as desired ...
p.Plot(); // do the plot
upload your sketch. when done and running,
execute the listener app
If the listener doesn't find your port, ie. keeps scrolling it's search through available ports, ...
then there probably is some other user on the serial port.
close listener, close any other sketches, remove all serial.print statements from your sketch,
re-select port, re-upload sketch, restart listener