Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
HX8347A Display Controller Example for Xplain Documentation

Introduction

This simple example shows how to use the HX8347A Display Controller Low Level driver for interfacing the HX8347A display controller.

Main files:

HX8347A low level driver API

The HX8347A low level driver API can be found here.

Device Info

All devices with some sort of SPI interface, e.g. SPI or USART in SPI mode.

Note
a Parallel interface is also possible, but is currently not supported by any standard Atmel hardware, hence the driver does not support this.

Description of the example

This example show how to use the functions provided by the low level driver to draw very simple graphics to the screen.

First it uses the function hx8347a_duplicate_pixel to draw a color to the screen 20 times. Then it uses hx8347a_copy_pixels_to_screen to copy a 40 x 40 single color pixmap to the screen at different locations.

For any advanced drawing of graphics please use the higher level GFX drivers.

Compilation Info

This software was written for the GNU GCC and IAR for AVR. Other compilers may or may not work.

Contact Information

For further information, visit Microchip.