arduino / Arduino

Arduino IDE 1.x
https://www.arduino.cc/en/software
Other
14.15k stars 7.01k forks source link

Display numeric values in the serial plotter? #4859

Closed damellis closed 1 year ago

damellis commented 8 years ago

It might be nice to display numeric values in the serial plotter, e.g. next to the corresponding color square in the upper right corner.

madsdyd commented 4 years ago

There is a workaround for this, that I believe is usable.

Use output like this:

Serial.print("RAW:");Serial.print(distance); Serial.print(" "); Serial.print(distance); Serial.print(":"); Serial.print(" ");Serial.println("");

This will produce data like this:

RAW:123.4 123.4:

which will be interprented as two data series, where the seconds data values are ignored. The first data series will be shown with the label RAW, the second will have its data (which is missing) still be showed in the label (the color square), using the current value as a label.

Of couse, this only shows the last value in the data series, but that should fit your description.

It is not pretty, but it is sort of a edge wish anyway, IMHO.

@per1234 : Recommend close as "wont fix /workaround exists"

per1234 commented 1 year ago

Resolved by addition of point values shown on hover in Arduino IDE 2.x Serial Plotter:

image