Downloads
Tool About Installers
Installation
Instructions
Windows Linux Mac OSX
MPLAB® X
Integrated Development Environment
MPLAB® XC16
C Compiler

Although the lab exercises are for the most part generic enough to be built using any compiler for any platform, we selected the MPLAB XC16 C Compiler for this class. The target device could be anything, but we selected the PIC24FJ128GA010 as a reasonable representative of the "middle" of the entire PIC® microcontroller product line. We will not be using any device specific features. We just need to be able to build code for some specific target that we can run on in the simulator to observe the behavior of the code you will write.

Lab Exercise Files

Projects, Source Code, and Solutions

File Download
Installation
Instructions
Windows Linux Mac OSX
Project, Source Code, and Solutions

This class is about C programming, and not about learning the IDE, each lab exercise has a ready-made, pre-configured project that allows you to open it in the IDE and get to work on coding right away. Each lab exercise has complete IDE instructions so you can focus on the task at hand, even if you've never used MPLAB X IDE.

© 2016 Microchip Technology, Inc.
Information contained on this site regarding device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip devices in life support and/or safety applications is entirely at the buyer's risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights.