Commit 666e4f6e authored by Paolo Baesso's avatar Paolo Baesso

Minor tweaks

parent 26890f0e
......@@ -158,7 +158,7 @@ print "\tIC7 read back bank 0: 0x%X" % res[0]
#BANK 1
IC7.setInvertReg(1, 0x00)# 0= normal
IC7.setIOReg(1, 0x00)# 0= output <<<<<<<<<<<<<<<<<<<
IC7.setOutputs(1, 0xB0)
IC7.setOutputs(1, 0xAF)
res= IC7.getInputs(1)
print "\tIC7 read back bank 1: 0x%X" % res[0]
# #I2C EXPANDER CONFIGURATION END
......
......@@ -146,7 +146,7 @@ class TLU:
self.pwdled.kitt()
time.sleep(0.1)
self.pwdled.allWhite()
self.pwdled.test()
#self.pwdled.test()
......
......@@ -315,7 +315,7 @@ class PWRLED:
print "\tLED test completed"
def test(self):
print "Testing the powermodule"
print " Testing the powermodule"
self.allBlack()
# loop over red
for iLED in range(0, 12):
......@@ -334,4 +334,6 @@ class PWRLED:
self.setIndicatorRGB(iLED, [0, 0, 1])
self.setIndicatorRGB(iLED-1, [0, 0, 0])
time.sleep(0.1)
self.allBlack()
print " Powermodule test done"
return
\ 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