richtige Skalierung nach Mattetest
This commit is contained in:
parent
9745c5124b
commit
3d3e104dd5
|
@ -208,7 +208,7 @@ def tim_nice_output(digits, volts):
|
||||||
def to_grafana(digits, volts):
|
def to_grafana(digits, volts):
|
||||||
global first
|
global first
|
||||||
global res0
|
global res0
|
||||||
res=float(.26+5/7.5*6400*volts[0:1])
|
res=float(.26+7.5/5*6400*volts[0:1])
|
||||||
|
|
||||||
sys.stdout.write(
|
sys.stdout.write(
|
||||||
"\0337" # Store cursor position
|
"\0337" # Store cursor position
|
||||||
|
|
Loading…
Reference in New Issue