c2-utopia/monitor.sh

9 lines
124 B
Bash
Executable File

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