Commit 7b09e8c7 authored by Paolo Baesso's avatar Paolo Baesso

Minor tweaks and added David's latest firmware (which might still have some bugs)

parent ab189fa3
......@@ -25,6 +25,8 @@ I2C_ID_Addr = 0x50
I2C_EXP1_Addr = 0x74
#I2C address of 2st expander PCA9539PW
I2C_EXP2_Addr = 0x75
#I2C address of EEPROM on powermodule
I2C_pwrId_Addr = 0x51
#I2C address of AD5665R on powermodule
I2C_DACModule_Addr = 0x1C
# Max value for control voltage on PMTs (usually 1 V)
......
......@@ -167,7 +167,7 @@ class LCD09052:
### Position the cursor on a specific location
## line can be 1 (top) or 2 (bottom)
## pos can be [1, 16}
if ((line==1) or (line==2) and (1 <= pos <= self.nCols)):
if ( ((line==1) or (line==2)) and (1 <= pos <= self.nCols)):
i2ccmd= [2, line, pos]
mystop= True
self.i2c.write( self.slaveaddr, i2ccmd, mystop)
......
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