Microchip® Advanced Software Framework

Quick Start Guide for the mono graphics service

This is the quick start guide for the Monochrome Graphics service, with step-by-step instructions on how to configure and use it for a specific use case.

Basic usage of the graphics service

This use case will demonstrate initializing the mono graphics service and then draw a black line on the screen from coordinates X=10, Y=10 to X=20, Y=20.

Usage steps

Example code

Add to, e.g., the main function in the application C-file:

Workflow

  1. Initialize system:
  2. Initialize monochrome graphics service
    • Note
      This will call the init function for the low level display controller driver and intialize the screen to a cleared background.
  3. Draw a line from 10,10 to 20,20: