
In the Mechatronics Lab we may update the image on the computers at any time without warning. This means that any files that you have stored locally on a Mx Lab PC will be destroyed. Topics covered in this tutorial: Creating a directory on the Lab fileserver Setting up the development environment Creating and configuring a project Adding source files to the project Building the project Debugging the project Programming the application TUT452.asm source code This tutorial walks you through the process of developing a simple project using a sample program, TUT452.asm. This program uses the analog‐to‐digital (A/D) converter of the PIC18F452 on the PICDEM 2 Plus Demo Board (DM163022). The program configures the A/D module to convert input from A/D channel 0 (connected to the potentiometer on the demo board) and display the results as a binary number on the four PORTB LEDs. MPLAB X / ICD 3 Tutorial This document is adapted for MPLAB X and the ICD 3 In‐circuit Debugger from the tutorials that form chapter 3 of the “MPLAB ICD 2 In‐Circuit Debugger User’s Guide” and chapter 3 of the “MPLAB ICD 3 In‐Circuit Debugger User’s Guide”.
