We have a ready to go basic graphics library that has primitives for bitmaps, shapes and text. You can probably do everything you want using it. Because of the way the display works we need to buffer the entire display in ram which is 84x48 bits (504 bytes). However, screen updates are very fast.

For more details about the Adafruit GFX library, please visit http://learn.adafruit.com/adafruit-gfx-graphics-library - it supports lines, rectangles, roundrects, circles, text of different sizes etc.

Note that since this display is MONOCHROMATIC it only supports two colors:
BLACK or WHITE. BLACK is a displayed dot and WHITE is for erasing pixels
Dont forget, after drawing anything to the screen, call display() to write it out to the LCD!

This guide was first published on Dec 17, 2012. It was last updated on Jun 19, 2024.

This page (Graphics Library) was last updated on Dec 17, 2012.

Text editor powered by tinymce.