Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
E
euro-adc-65m-14b-40cha-gw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
eurocard
euro-adc-65m-14b-40cha
euro-adc-65m-14b-40cha-gw
Commits
6122c974
Commit
6122c974
authored
Aug 31, 2017
by
Dave Newbold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding config check for si****
parent
b9a9154a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
si5344.py
components/solid/software/si5344.py
+5
-0
No files found.
components/solid/software/si5344.py
View file @
6122c974
...
...
@@ -129,3 +129,8 @@ class si5344:
# print "\t ", counter, "Reg:", hex(regAddr), "Data:", regData
counter
+=
1
self
.
writeRegister
(
regAddr
,
regData
)
for
item
in
regSettingList
:
d
=
self
.
readRegister
(
int
(
item
[
0
],
16
))
if
int
(
item
[
1
],
16
)
!=
int
(
d
):
print
"Config error"
,
hex
(
item
[
0
]),
hex
(
item
[
1
]),
hex
(
d
)
\ No newline at end of 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