This class shows you how to use the Graphics Library found in Microchip Libraries for Applications (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 individual graphics topics.
The class demonstrates the 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 encourage 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