#!/bin/sh # script to upload the code via the dfu programmer interface. Requires the # presence of the DFU bootloader in the device. sudo dfu-programmer atmega32u4 erase --force sudo dfu-programmer atmega32u4 flash tempsense.hex