echo -e "press key\n"
read -rsn1 input >/dev/null; read -rsn5 -t 0.01 input2 >/dev/null; case $input$input2 in $'\E') return ;; esac; echo "VFD 0 ${str}" > /tmp/serial.fifo; str=''; }
      (( count++ ))
    done;
    [[ ${#str} -gt 0 ]] && { echo -e "press key to send $(( count - 16 )) - $count"; read -rsn1 input >/dev/null; read -rsn5 -t 0.01 input2 >/dev/null; case $input$input2 in $'\E') return ;; esac; echo "VFD 0 ${str}" > /tmp/serial.fifo; str=''; }
