pinebuds/uart_log.sh

7 lines
96 B
Bash
Raw Normal View History

2022-08-15 20:30:33 -05:00
#! /bin/bash
num=$(ls -l /dev/ttyUSB* | rev | cut -c 1)
#num=1
echo $num
sudo minicom port$num