diff --git a/flash.sh b/flash.sh index dd9b891..526b685 100644 --- a/flash.sh +++ b/flash.sh @@ -1,6 +1,8 @@ #!/bin/bash -# hold reset button while pluggin your MCU -# into USB to enter bootloader mode +# hold reset button while pluggin your Leonardo ATmega32U4 +# into USB until 3 yellow lights flash +# to enter bootloader mode + +avrdude -p m32u4 -c avr109 -P /dev/ttyACM0 -U flash:w:./I2CUSB.hex -avrdude -p m32u4 -c avr109 -P /dev/ttyACM0 -U flash:w:/path/to/your/firmware.hex