Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SADAPMAP
Interface
Commits
fbc93429
Commit
fbc93429
authored
Jan 15, 2020
by
Pedro Henrique Kopper
Browse files
Corrigir escala do sensor de pressão
parent
78b99655
Changes
1
Hide whitespace changes
Inline
Side-by-side
interfaces/SACADA.py
View file @
fbc93429
...
...
@@ -21,7 +21,7 @@ class SACADA(object):
if
channel
[
"id"
]
==
"PWR"
:
return
self
.
s
.
readVoltage
(
"A3"
)
*
self
.
s
.
readVoltage
(
"A4"
)
if
channel
[
"id"
]
==
"A3"
:
return
self
.
s
.
readVoltage
(
"A3"
)
*
(
25
0.0
/
10.0
)
return
self
.
s
.
readVoltage
(
"A3"
)
*
(
40
0.0
/
10.0
)
+
3.0
return
self
.
s
.
readVoltage
(
channel
[
"id"
])
def
readAll
(
self
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment