PixelArt graphics library for TFT Displays based on Hexels format to draw with several grid frames.
The library use different polygons in order to stablish different grids to draw in different formats:
This differents interpretations on graphics allow us to create hexel in order to create 3D models on a 2D TFT Display with a different interpretation on depth figures.
Hexel grid class is based on geometric triangles ordered in columns and rows with the following structure:
This library has been tested with Arduino Esplora and a TFT display.
#define SD_CS 8 // Chip select line for SD card
#define TFT_CS 7 // Chip select line for TFT display
#define TFT_DC 0 // Data/command line for TFT
#define TFT_RST 1 // Reset line for TFT (or connect to +5V)