projects
/
digitaldcpower
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
0.6.1 Improved display code
[digitaldcpower]
/
run-picocom.sh
1
#!/bin/sh -x
2
echo "End picocom with C-A C-X"
3
ftdidev=`grep FTDI /proc/bus/usb/devices | wc -l`
4
if [ "$ftdidev" = "2" ]; then
5
picocom -l -b 9600 /dev/ttyUSB1
6
else
7
picocom -l -b 9600 /dev/ttyUSB0
8
fi