Grafici GFX is a data plotting library for Adafruit GFX graphic libraries. This modular library allows you to easily manage and plot data on any arduino display/lcd supporting the Adafruit GFX library.
- Download the Grafici library via Arduino IDE. This should download also the Adafruit_GFX library.
Sketch > Include Library > Manage Libraries
orSHIFT + CMD + I
- Search for "Grafici"
- Select
Grafici-GFX
and clickInstall
,Install all
- Open the simple plot example
File > Examples > Grafici-GFX > simple-plot
- If you are not using a standard Adafruit TFT shield, change the lines below to match your configuration
#include Adafruit_ILI9341.h
Adafruit_ILI9341 tft = Adafruit_ILI9341(10, 9);
- Compile and upload the code to your Arduino
Edit > Upload
orCMD + U
- The Arduino's display should show the following
Documentation available in the wiki