c2-utopia/monitor.sh

8 lines
105 B
Bash
Executable File

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