Commit 9aee21ef authored by Dave Newbold's avatar Dave Newbold

Adding config check for si****

parent a52d6ddb
......@@ -120,14 +120,9 @@ class si5344:
def writeConfiguration(self, regSettingList):
print "\tWrite configuration:"
#regSettingList= list(regSettingCsv)
counter=0
for item in regSettingList:
regAddr= int(item[0], 16)
regData=[0]
regData[0]= int(item[1], 16)
# 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))
......
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