Commit 6122c974 authored by Dave Newbold's avatar Dave Newbold

Adding config check for si****

parent b9a9154a
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment