Merge branch 'main' of 121.36.59.21:Marcin/work_sript
This commit is contained in:
commit
6458d5daa4
@ -858,8 +858,8 @@ read_tmp468_value(){
|
||||
tmp468_res7_l=`echo $res_tmp468 | awk '{print $14}'`
|
||||
tmp468_res8_h=`echo $res_tmp468 | awk '{print $15}'`
|
||||
tmp468_res8_l=`echo $res_tmp468 | awk '{print $16}'`
|
||||
# tmp468_res9_h=`echo $res_tmp468 | awk '{print $17}'`
|
||||
# tmp468_res9_l=`echo $res_tmp468 | awk '{print $18}'`
|
||||
tmp468_res9_h=`echo $res_tmp468 | awk '{print $17}'`
|
||||
tmp468_res9_l=`echo $res_tmp468 | awk '{print $18}'`
|
||||
|
||||
format_print $INFO "Tmp468 read result:"
|
||||
convert_tmp468_data $tmp468_res1_h $tmp468_res1_l $TMP468_Channel0_name
|
||||
@ -870,7 +870,7 @@ read_tmp468_value(){
|
||||
convert_tmp468_data $tmp468_res6_h $tmp468_res6_l $TMP468_Channel5_name
|
||||
convert_tmp468_data $tmp468_res7_h $tmp468_res7_l $TMP468_Channel6_name
|
||||
convert_tmp468_data $tmp468_res8_h $tmp468_res8_l $TMP468_Channel7_name
|
||||
# convert_tmp468_data $tmp468_res9_h $tmp468_res9_l $TMP468_Channel8_name
|
||||
convert_tmp468_data $tmp468_res9_h $tmp468_res9_l $TMP468_Channel8_name
|
||||
}
|
||||
|
||||
process_tmp468(){
|
||||
@ -1103,13 +1103,13 @@ detect_on_5280m7(){
|
||||
do_i2c_detect 3 0x70 0x02 1 1
|
||||
do_i2c_detect 3 0x70 0x04 2 2
|
||||
else
|
||||
# i2c_bus=12
|
||||
# pca9641_slave="0x41"
|
||||
# get_pca9641_control
|
||||
i2c_bus=12
|
||||
pca9641_slave="0x41"
|
||||
get_pca9641_control
|
||||
|
||||
# do_i2c_detect 12 0x72 0x02 1 0
|
||||
# do_i2c_detect 12 0x72 0x04 2 1
|
||||
# do_i2c_detect 12 0x72 0x08 3 2
|
||||
do_i2c_detect 12 0x72 0x02 1 0
|
||||
do_i2c_detect 12 0x72 0x04 2 1
|
||||
do_i2c_detect 12 0x72 0x08 3 2
|
||||
|
||||
i2c_bus=13
|
||||
pca9641_slave="0x42"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user