Datasheet

PICkit™ 3 Debug Express Lessons
© 2009 Microchip Technology Inc. DS41370C-page 27
FIGURE 3-18: PROGRAM MEMORY “LED_LOOKUPTABLE” ARRAY VALUES
The directive #pragma code is then used to specify the following section, beginning
with the main () declaration, will be executable instructions to place in program
memory. Since an optional section name and address are not specified, the code
instructions will be placed at the first available address by the linker. As with data
directives, a section name may be used with a SECTION entry in the Linker Script to
allocate a range of program memory for a section.
3.3.3 Exploring the Lesson 3 Source Code
Open the lesson source code file 03 Rotate LED.c in an editor window if it is not
open already.