This Wizard will simplify the task of mapping the reconfigurable pins on a PIC 24 device to the PIC's peripheral modules. It will load the port mapping options for the current P24 device and list the Output and Input Peripherals which can be mapped to the Pins list in the centre.


Click on the required Peripheral and Pin to be mapped and click the Assign button.  The PDS code for setting that pin will appear in the lower panel.  The wizard will prevent you from assigning the same peripheral to multiple pins and similarly multiple peripherals to the same pin.  If you click around the peripheral, pin lists or the code entries the relevant assignments will be shown.  

Output connections will be marked in Red and input connections will be marked in Blue.  Not all pins can be mapped as both inputs and outputs.  Those pins which can only be mapped in one direction will be marked with  a background colour to reflect the direction supported. 

When you have completed setting the configuration, click on the Apply button and choose to Paste into the IDE at your current cursor position or Save to the Clipboard. 

IMPORTANT - The wizard will allow any mappable peripheral to be connected to any mappable pin.  You should read carefully the device's data sheet to ensure you are not raising any mapping conflicts.