Description
This MPLAB® Harmony Graphics Library class was taught at Microchip's Masters Conference in 2016. Some of the slides may not be easily understood because they are intended to be presented by an instructor. That said, you should still be able to learn a lot from it.
This class teaches you how to use the Graphics Library found in Harmony version 1.xx. The Graphics Library found in Harmony version 2.xx is completely new. This class should not be used to learn how the new Graphics Library works.
Learn about Harmony Graphics Library v2.xx >
Class Abstract
Looking to add a Graphical User Interface (GUI) to your embedded system? Then this is the right class for you! Attendees will use lecture material and hands-on exercises to learn how to harness the power of the MPLAB Harmony Graphics Library, along with the MPLAB® Harmony Graphics Composer (MHGC) to create an embedded graphical user interface.
For the hands-on exercises, you will use the PIC32MZ EF Starter Kit along with the PIC32 Multimedia Expansion Board II. The lab manual provides step-by-step instructions for the following:
- Lab 1: Getting Started
- Lab 2: Creating the Splash Screen
- Lab 3: Creating the Interactive Menu Screen
- Lab 4: Creating the LED Control Screen
- Lab 5: Creating the Switch Input Screen
- Lab 6: Adding Graphics to an Existing Project
Graphics Library Training Slides, Lab Manual, Source Files and Solutions
This project has been verified to work with the following versions of software tools:
MPLAB® X IDE v3.30, MPLAB® XC32 Compiler v1.40, MPLAB® Harmony v1.08.01, MPLAB® Harmony Configurator Plugin v1.0.8.7
Because we regularly update our tools, occasionally you may discover an issue while using newer versions. If you suspect that to be the case, we recommend that you double check using the same versions that the project was tested with.
Archived versions of our tools can be found on the following Microchip websites:
MPLAB Harmony (see "Archived Downloads" tab)
MPLAB X IDE and XC32 Compiler (see "Downloads Archive" tab)
Note that multiple versions of all these tools can co-exist on the same computer.
Materials
Hardware Tools
Tool | About | Purchase |
---|---|---|
| | |
| |
Note there are two different PIC32MZ EC Starter Kits. Demonstration application projects that come with Harmony will use one or the other starter kit. You may need to change the device number associated with the demo project to make it work for the starter kit you have.
- PIC32MZ Embedded Connectivity with FPU (EF) Starter Kit uses PIC32MZ2048EFH144
- PIC32MZ Embedded Connectivity with FPU (EF) Starter Kit with Crypto Engine uses PIC32MZ2048EFM144
Development Software Required for Labs
Tool | About | Installers |
Installation
Instructions |
||
---|---|---|---|---|---|
Windows | Linux | Mac OSX | |||
MPLAB® X
Integrated Development Environment |
| | | | |
MPLAB® XC32
C/C++ Compiler |
| | | | |
MPLAB® Harmony 1.xx
Integrated Software Framework |
| | | | |