#!/bin/sh
OPTS="-c usbasp -p atmega64"

avrdude > avrdude-version.txt 2>&1
echo "w"
avrdude $OPTS -U flash:w:written-flash.hex:i -vvvv > write.log 2>&1
echo "r"
avrdude $OPTS -U flash:r:read-flash.hex:i -vvvv > read.log 2>&1
