Positron Compiler Documentation

Device

Source: Positron16 Compiler User Manual, PDF page 433

Syntax

Device Device name

Overview

Inform the compiler which microcontroller is being used.

Parameters

Device name can be any value PIC24E, PIC24F, PIC24H, dsPIC33F or dsPIC33E type.

Example

Device = 24FJ64GA002
                         ' Produce code for a 24FJ64GA002 device

Device should be the first directive placed in the program.

For an up-to-date list of compatible devices refer to the compiler’s PPI folder.

Default location:

For Windows XP or Windows 7 32-bit

C:\Program Files\ProtonIDE\PDS\Includes\PPI

For Windows 7 64-bit

C:\Program Files (x86)\ProtonIDE\Includes\PPI