#!/bin/bash targetProjectFile=lightstick sudo avrdude -p attiny85 -U flash:w:$targetProjectFile.hex -c avrisp2 -P usb -u -B 20 #sudo avrdude -p t10 -U flash:w:firmware.hex -c avrispmkII -P usb # -B 1 -b 4200 -F # sudo avrdude -p m328p -c stk500v2 -P usb -U lfuse:w:0xbf:m -U hfuse:w:0xd9:m -V -U efuse:w:0x07:m -u ##sudo avrdude -p m328p -U flash:w:compiled.hex -c stk500v2 -P usb