command: avrdude -P com10 -b 19200 -c avrisp -p m32u4 -U flash:w:file.hex
how to connect :
GND : Duemilanove pin GND to Micro pin GND
5V: Duemilanove pin 5V to Micro pin VIN
SCK: Duemilanove pin 13 SCK to Micro pin 9 SCK
MISO: Duemilanove pin 12 MISO to Micro pin 11 MISO
MOSI: Duemilanove pin 11 MOSI to Micro pin 10 MOSI
Reset: Duemilanove pin 10 to Micro pin 13 RESET