c2-utopia/monitor.sh

8 lines
105 B
Bash
Raw Normal View History

#!/bin/bash
source .venv/bin/activate
port=${1:-/dev/ttyUSB0}
pio device monitor -b 115200 -p "$port"