A bit more feature-rich replacement for the Arduino's Serial Plotter.
After being annoyed by the Arduino Serial Plotters lack of functionality, and suffering from the
critical NIH issue, I decided to write my own, as an exercise for the rusting C++ skills.
The recommended way is to download the pre-built binaries, alternatively you can build it from sources.
The later path will allow you to add some custom logic:
- You can add a custom data generator by providing a
data_change_cb
to thedata
object via theset_data_change_callback
and accessing the plot data via thedata
sget_plot_data
method. - You can add custom graphs to the main plot by setting the
draw_plot_cb
callback (e.g.:ImPlot::Annotate
).
This project havily relies on conan for dependency management.
After installing conan, you will have to create a CMake cache, install dependencies and build the project:
$ git clone https://github.com/yowidin/serial-plotter.git
$ cd serial-plotter
$ mkdir cmake-build-debug
$ cd cmake-build-debug
$ conan install .. -b missing
$ conan build ..