RetroControllerPi/prog_avr.sh
2020-06-23 01:06:01 +01:00

4 lines
100 B
Bash
Executable file

#!/bin/bash
PROG_CMD="sudo avrdude -c linuxspi -p m328p -P /dev/spidev1.0"
$PROG_CMD -U flash:w:$1