Overview and objectives
Kit used in this example:
The project is given a name and location.
1
’, Pxn is
configured as an output pin.1
’, while PORTC7 is set low.
0
’. So only DDRC7
needs to be set to ‘1
’ to turn on the
LED.DDRC = (1<<DDRC7);
will turn on the
USER_LED.while(1)
.
Also, a breakpoint should be added to demonstrate single stepping.
Without a breakpoint, Debug will run continuously. You can Pause and
then single step, but a breakpoint will stop where you
want.DDRC = (1<<DDRC7)
.