o===============================================================================oo===============================================================================o | . . . . || . . . . | | : : : : || : : : : | | : . : . : . : || : . : . : . : | | .' . . .' . . .' . . .' . || .' . . .' . . .' . . .' . |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| """ | |
| Simple live plot reading serial data | |
| Graph is not exact as it can be altered by delays in serial communication and plot time, but it is useful nonetheless | |
| Usage example: ./live_serial_plot.py --tty /dev/ttyUSB0 --plot var1 --plot var2 --plot_n vars3 2 --save ./log.csv | |
| Data on the serial line for the above command: [note: space after prefix is optional] | |
| var1 1.4427 |
OlderNewer