fromPCA9539PWimportPCA9539PW# Library for serial line expander
importtime
classPWRLED:
#Class to configure the EEPROM
...
...
@@ -17,10 +18,16 @@ class PWRLED:
self.intRefOn=0
self.vCtrlMax=PMTmaxV
self.verbose=True
#Map indicator color based on their position on the expanders: 0-15 are on expander 2, 16 to 31 on expander 1. One indicator is missing the blue component, hence