Skip to content
ILI9341 display driver for the STM32F4 microcontroller. Uses the MCU's FSMC to send data to the display.
C C++
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
disp Commit version 1 Aug 17, 2017
indev Commit version 1 Aug 17, 2017
semaphore Commit version 1 Aug 17, 2017
systick Commit version 1 Aug 17, 2017
.gitignore Initial commit Aug 17, 2017
LICENSE Initial commit Aug 17, 2017
README.md Commit version 1 Aug 17, 2017
library.json Add library.json for platform.io usage Aug 21, 2017

README.md

ILI9341 display driver for the STM32F4 microcontroller

This repository contains a display driver for the STM32F4 microcontroller. The ILI9341 should be connected to the STM32F4 in 16-bit parallel mode.

Because the 16-bit parallel mode is used in combination with the MCU's FSMC, the data transfer to the display is very fast.

The driver only supports 16-bit (RGB565) colors.

Usage

The driver offers three functions for display memory access. Include stm32_ili9341p16_display.h to use the driver.

gd_display_init() should be called before any other display operations.

gd_display_fill(...) fills a rectangle on the display with a single color.

gd_display_bitmap(...) transfers data from the memory to the display.

LVGL wrapper

This driver can be used with the LittleV Graphics Library. This is a library to build GUI's.

To use this driver with LVGL, enable double buffering in LVGL with #define LV_VDB_DOUBLE 1 in lv_conf.h.

disp_fill is not implemented yet.

Dependencies

This driver requires the following libraries:

You can’t perform that action at this time.