Chapter 2: Quick Start Guide
the delay, the simulated LEDs will move at geologic speeds, making glaciers
seem fast, so we remove the delay before simulation.
in main():
akefile in the Blinky directory
the AVRStudio Workspace window click the I/O ATmega169, then the
PORTD, you should see: (the following image shows PORTB instead of
PORTD
- Open Blinky.c in Programmers Notepad and save it to a new directory,
SimBlinky, as SimBlinky.c. - Put comment lines in front of both of the _delay_loop_2() function calls
- // _delay_loop_2(30000);
- Open the m
- Change the target: TARGET = SimBlinky
- Save the makefile to the SimBlinky directory
- Run the Make All, then Make Extcoff.
- In the AVRStudio open the SimBlinky.coff file.
- In
, -- live with it)
- In the toolbar click the AutoStep button: