c2-utopia/monitor.sh

9 lines
124 B
Bash
Raw Normal View History

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