read testNo
case $testNo in
"1")
exit;;
"2")
echo "test item 2"
;;
"3")
ts_read_loop=1;
read number_loops
if [ "$number_loops"=="0" ]
then
ts_read_loop=0;
fi
while [ "$ts_read_loop" -le "$number_loops" ]
do
echo -e "\nLoop "$ts_read_loop
more /sys/bus/i2c/devices/1-0048/hwmon/hwmon0/temp1_input | awk '{print $1/1000}'
if [ "$number_loops" != "0" ]
then
ts_read_loop=$((ts_read_loop + 1 ))
fi
sleep 1
done
;;"*")
exit;;
esac