Getting Started

(lily) #1

Chapter 2: Quick Start Guide


MCU = atmega169

# Output format. (can be srec, ihex, binary)
FORMAT = ihex

# Target file name (without extension).


  • rectory.

  • pen Tools and click [WinAVR] Make All to make your Blinky.hex file
    inAVR] Make Extcoff to make your Blinky_coff


Download to the Butterfly with AVRStudio..................................................



# Target file name (without extension).
TARGET = main


  • To:


TARGET = Blinky

Close and save changes to makefile to the Blinky di
O


  • Open Tools and click [W
    file.


V


Find AVR Studio (you should have an icon for it on your
desktop) and open it.
In the File menu Open ‘...\Blinky\Blinky.cof


  • Select the AVR Simulator and the ATMEGA169 as:


Free download pdf