The GFX library example demonstrates how to use it in practice. It uses the GFX library API functions to draw objects, such as lines, rectangles, and circles.
The example uses the ILI9341 controller. You can also configure it to use the ST7735 controller. Drivers for both controllers can be found under <InstallFolder>\components\drivers_ext
.
You can find the source code and the project file of the example in the following folder: <InstallFolder>\examples\peripheral\gfx
Test the GFX library example application by performing the following steps: