Skip to content
Snippets Groups Projects

Modified the scripts to run on Raspberry Pi.

2 files
+ 71
1
Compare changes
  • Side-by-side
  • Inline

Files

+ 15
1
@@ -13,6 +13,13 @@ LOC_POWER_TR_T = 0x0F
LOC_POWER_BAT = 0x10
LOC_POWER_IO = 0x11
LOC_POLS = {"LOC_POWER_CORE" : 0x01,
"LOC_POWER_ERAM" : 0x0D,
"LOC_POWER_TR_R" : 0x0E,
"LOC_POWER_TR_T" : 0x0F,
"LOC_POWER_BAT" : 0x10,
"LOC_POWER_IO" : 0x11}
CTR_POWER_S_1V0 = 0x0E
CTR_POWER_S_1V2 = 0x0F
CTR_POWER_CLK = 0x0D
@@ -46,7 +53,14 @@ CTRL_POWER = 0x10
# Front panel LED
################
LED_DRIVER = 0x41
LED_COLORS = {"red": 0x06, "blue": 0x05, "green" : 0x03, "magenta": 0x04, "yellow": 0x02, "cyaan": 0x01, "white": 0x00, "black" :0x07}
LED_COLORS = {"red": 0x06,
"blue": 0x05,
"green" : 0x03,
"magenta": 0x04,
"yellow": 0x02,
"cyaan": 0x01,
"white": 0x00,
"black" :0x07}
################
# Node I2C switch
Loading