Closed
Description
Describe the problem
The official Arduino Serial Plotter protocol specification documents three supported data point separator characters:
- space
- tab
- comma
🐛 Separators other than commas are not working in data sets that are labeled
To reproduce
Equipment
- Arduino board
You can also send the equivalent data directly to the web app if that is more convenient to you.
Steps
- Upload the following sketch to your Arduino board:
void setup() { Serial.begin(9600); } void loop() { for (byte value = 0; value < 4; value++) { for (byte variableOffset = 0; variableOffset < 3; variableOffset++) { Serial.print("label"); Serial.print(variableOffset); Serial.print(':'); Serial.print(value + variableOffset); Serial.print("\t"); } Serial.println(); } delay(100); }
- Open "Serial Plotter"
- Select "9600 baud" from the dropdown baud rate menu at the bottom right corner of the "Serial Plotter" window.
🐛 Only a single variable is plotted:
Expected behavior
- Full support for all data point separators documented in the specification.
- Supported separators are consistent regardless of whether or not data points are labeled.
OR
- Clear documentation of breaking change
- Comprehensive survey and repair of all important content broken by change
Version
Operating system
Windows
Operating system version
10
Additional context
The demo works as expected when using the Arduino IDE 1.8.19 Serial Plotter.
Examples of existing programs broken by this bug:
- https://docs.arduino.cc/tutorials/nano-rp2040-connect/rp2040-microphone-basics / https://github.com/arduino/ArduinoCore-mbed/blob/master/libraries/PDM/examples/PDMSerialPlotter/PDMSerialPlotter.ino
- https://github.com/arduino/Arduino/blob/master/build/shared/ArduinoSerialPlotterProtocol.md#two-traces-with-label-send-every-time
- https://github.com/marhar/ArrbotMonitor