Closed per1234 closed 2 years ago
I think conforming to the protocol would be a better option. I think the second proposal would involve a lot more effort and unnecessary since it is also a part of legacy Arduino.
I'd like to take a stab at it
Looks like the relevant code is here https://github.com/arduino/Arduino/blob/69e91cab5cc6e0ee9280a1b8a3399d1b634a9eef/app/src/processing/app/SerialPlotter.java#L408
A regex expression is being used to include Space, Tab and Comma as delimiter values. I will try to replicate the same in React
Describe the problem
The official Arduino Serial Plotter protocol specification documents three supported data point separator characters:
π Separators other than commas are not working in data sets that are labeled
To reproduce
Equipment
Steps
π Only a single variable is plotted:
Expected behavior
OR
Version
https://github.com/arduino/arduino-serial-plotter-webapp/commit/eac6d39f3f5156390bc4f9e09cafcccc121248c9
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: