This class is based on the Graphics Library found in Microchip Libraries for Applications (MLA). It is not relevant for the MPLAB® Harmony Graphics Library.
Abstract
This class shows you how to use the Graphics Library found in MLA. It demonstrates how to add sophisticated graphics interfaces to applications using Microchip's 16-bit PIC24 microcontrollers. At the end of this class, the student will be able to include interactive graphics in their application.
This class starts with a review of the components needed for graphics development. The tutorial then proceeds with an overview of a completed graphics application, describing all the software functions which need to work together to produce graphics applications. Engineers taking this tutorial are encouraged to first study the "Overview of a Completed Graphics Application" section to get an understanding of a working system. Once an engineer understands the program flow of a graphics application, they can complete the tutorial by examining the topics of the individual graphic.
The class demonstrates the Application Programming Interfaces (APIs) first introduced in version v2013-12-20 of the MLA and in MPLAB Harmony. While this tutorial does not include lab exercises, users of this tutorial are encouraged to implement the code examples on their target board.
Table of Contents
Part 1 - Getting Started
- Development Requirements
- Installing the Graphics Library
- Creating a New Graphics Project
- Structure of a Graphics Project
Part 2 - Programming
- Overview of a Completed Graphics Application
- Drawing Graphics Primitives
- Graphic Objects
- Drawing Graphics Objects
- Changing Appearance of Objects
- Getting User Input (Touch)
- Performing actions on User Input
- Continuous Touch Events
Part 3 - Where To Go From Here