Skip to content
Snippets Groups Projects
Commit 64f0853a authored by Gijs Schoonderbeek's avatar Gijs Schoonderbeek
Browse files

Moved classes to lib file, modified EEPROM writing

parent d29f15e6
No related branches found
No related tags found
No related merge requests found
......@@ -14,10 +14,25 @@ CTR_POLS = {"CTR_LBA" : 0x3C,
"CTR_RCU2_A" : 0x3D,
"CTR_RCU2_D" : 0x3E}
VOUT_POLS = {"CTR_LBA" : 8.0,
"CTR_RCU2_A" : 5.60009765625,
"CTR_RCU2_D" : 3.2998046875}
LP_VIN = 0x88 #
LP_VOUT_MODE = 0x20
LP_VOUT = 0x8B #
LP_temp = 0x8D #
LP_IOUT = 0x8C
LP_VOUT_COMMAND = 0x21
LP_VOUT_TRIM = 0x22
LP_VOUT_MAX = 0x24
LP_VOUT_SCALE_LOOP = 0x29
LP_VOUT_SCALE_MON = 0x2A
LP_VOUT_OV_LIMIT = 0x40
LP_VOUT_UV_LIMIT = 0x44
LP_STORE_USER_ALL = 0x15
LP_ON_OFF_CONFIG = 0x02
LP_OPERATION = 0x01
###################################
# Central I2C Devices
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment