-
-
Notifications
You must be signed in to change notification settings - Fork 169
Home
moononournation edited this page Feb 14, 2021
·
1 revision
Welcome to the Arduino_GFX wiki!
Arduino_GFX is a Arduino graphics library.
Currently support GC9A01 round display, HX8347C, HX8347D, HX8352C, HX8357B, ILI9225, ILI9341, M5Stack, ILI9481, ILI9486, ILI9488, JBT6K71, R61529, SEPS525, SSD1283A, SSD1331, SSD1351, ST7735, ST7789, ST7796 with software and hardware SPI. ESP32 also support 9-bit SPI, 8-bit and 16-bit parallel interface.
Declaration
#include <Arduino_GFX_Library.h>
Arduino_DataBus *bus = new Arduino_HWSPI(16 /* DC */, 5 /* CS */);
Arduino_GFX *gfx = new Arduino_ILI9341(bus, 17 /* RST */);
Sample Code
gfx->begin();
gfx->fillScreen(BLACK);
gfx->println("Hello World!");