Lab 1 introduces MPLAB X and explains step by step procedure for writing your first program for a PIC18 microcontroller. It also explains the use of the built-in debugger to simulate your program and watch the values of internal registers and data memory of the PIC18 microcontroller.