gast1-mon.sh 183 Bytes
Newer Older
Fjen Undso's avatar
Fjen Undso committed
1
2
3
4
5
6
7
8
9
set -x

    #Luma Cont R    G    B
BUS=(0x10 0x12 0x16 0x18 0x1a)
VAL=(60   70   98   97   98)

for i in ${!BUS[*]}; do
    ddccontrol dev:/dev/i2c-7 -r ${BUS[$i]} -w ${VAL[$i]}
done