Skip to content

Commit 36c670f

Browse files
Borislav KCieNTi
Borislav K
authored and
CieNTi
committed
Update README.md
1 parent 31409f9 commit 36c670f

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

README.md

+21
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,27 @@ This is a Windows application that displays real time data from serial port. I h
44

55
The application supports zooming and dragging using the mouse wheel. Clicking anywhere in the plot displays the X and Y values of the graph in the status bar.
66

7+
# Screenshot
8+
9+
![Serial Port Plotter screenshot](gh_assets/screen.jpg)
10+
11+
# How to use the application
12+
13+
Just send your integer data over the serial port. The application expects certain format so it can differentiate between values. Each message you send must start with '$' and end with ';' (semi-colon) and the integers inside need to be space-separated. The Help button displays comprehensive instructions. Example: If you need to plot two values, use this code in your mbed source file:
14+
15+
# Send data over the serial port
16+
17+
```c
18+
pc.printf("$%d %d;", data1, data2);
19+
wait_ms(10);
20+
```
21+
22+
Depending on how much data you want to display, you can adjust the number of data points. For example, if you send data from the serial port of the mbed every 10 ms (100 Hz) and the plotter is set to display 500 points, it will contain information for 5 seconds of data.
23+
24+
# Source
25+
26+
Source and .pro file of the Qt Project are available. A standalone .exe is included for the people who do not want to build the source. Search for it at [releases](https://github.com/CieNTi/serial_port_plotter/releases)
27+
728
# Credits
829
930
* Original programmer: [Borislav K](https://developer.mbed.org/users/borislav/ )

gh_assets/screen.jpg

261 KB
Loading

0 commit comments

Comments
 (0)