Set_ADC_2_Delay.sh 218 B

12345678910
  1. #!/bin/bash
  2. echo "Set CH_5 clock ADC 2 delay... "
  3. upfix=000501
  4. fixed=5
  5. hex_val=$(printf "%01x\n" $1)
  6. echo "Set $hex_val --> Time value picosecond = `expr $1 "*" 150`."
  7. pci -w 0x9060 $upfix$hex_val$fixed