Python code for reading data from an Arduino board over the serial port. The data is plotted on screen in real-time and optionally written it to a CSV file for future analysis.
Inspired in part by this blog post.
E.g.
python3 -m move.demo4
On MacOS, depending on the environment, it may be necessary to unset DYLD_LIBRARY_PATH
(or set it to an empty string) before running, to work around an ImportError
in numpy
.