Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
reversaal
OhmPi
Commits
4f948e6b
Commit
4f948e6b
authored
Oct 05, 2021
by
Clement Remi
Browse files
corrections des commentaires
parent
89577353
Changes
1
Hide whitespace changes
Inline
Side-by-side
Ohmpi.py
View file @
4f948e6b
...
...
@@ -30,7 +30,7 @@ from gpiozero import CPUTemperature
current_time
=
datetime
.
now
()
print
(
current_time
.
strftime
(
"%Y-%m-%d %H:%M:%S"
))
"""
h
ardware parameters
H
ardware parameters
"""
R_shunt
=
0.2
# reference resistance value in ohm
coef_p2
=
2.50
# slope for current conversion for ADS.P2, measurement in V/V
...
...
@@ -41,7 +41,7 @@ integer=10
meas
=
numpy
.
zeros
((
3
,
integer
))
"""
i
mport parameters
I
mport parameters
"""
with
open
(
'ohmpi_param.json'
)
as
json_file
:
...
...
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