1 Star 2 Fork 0

森本木/serialplot

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
defaults.py 1.17 KB
一键复制 编辑 原始数据 按行查看 历史
crxguy52 提交于 9年前 . changed numgraphs to 1
'''
Be careful when modifying these values - if they aren't set correctly,
the program won't run. As a precaution if you modify it, it's a good idea to
save a copy first. serialplot just looks for a file in the same directory
called 'defaults.py'
The format for graphXlineX properties is:
[datalabel,
datapos,
linecolor,
dashed,
multiplier,
offset]
'''
defaults = {'COMport': '',
'baud': 9600,
'databits': 8,
'datadepth': 200,
'datalength': 2,
'filename': 'C:/Users/Victor/Desktop/GraphLog.csv',
'g1ylims': [-10, 10],
'g2ylims': [-10, 10],
'g3ylims': [-10, 10],
'graph1line1': ['line1', 1, '#FF0000', '-', 1, 0],
'graph1line2': ['line2', 2, '#ff0000', '-', 1, 0],
'graph1line3': ['line3', '-', '#00FF00', '-', 1, 0],
'graph2line1': ['line1', 1, '#0000FF', '-', 1, 0],
'graph2line2': ['line2', 2, '#0000FF', '-', 1, 0],
'graph2line3': ['line3', '-', '#00FF00', '-', 1, 0],
'graph3line1': ['line1', 1, '#FF0000', '-', 1, 0],
'graph3line2': ['line2', 2, '#0000FF', '-', 1, 0],
'graph3line3': ['line3', '-', '#00FF00', '-', 1, 0],
'log2file': 'off',
'maxlength': 50,
'numgraphs': 1,
'parity': 'None',
'refreshfreq': 20,
'startmax': 'no',
'stopbits': 1,
'stsbrwdth': 7}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/senbenmu/serialplot.git
git@gitee.com:senbenmu/serialplot.git
senbenmu
serialplot
serialplot
master

搜索帮助