miekush / STM32_ILI9486_8_bit

LCD Library for ILI9486 based TFT Displays ported to STM32duino

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

STM32_ILI9486_8_bit

This is a library for ILI9486 based TFT displays controlled by an 8-bit parallel port (8080) interface for STM32F103 using STM32duino.

TFT Display

Based on the original Adafruit 8-bit parallel TFT library written by Limor Fried/Ladyada and ported to STM32duino by Mike Kushnerik/MKE.

This library depends on the ST HAL based Arduino core files from here: STM32duino

The goal of this library was to create a simple to use display interface for the 3.5" and 4.0" ILI9486 TFT displays which is also compatible with the Adafruit GFX API.

So far, this library has been tested using my 3.5" and 4.0" TFT breakout boards available here: TFT Breakouts

3.5" and 4.0" ILI9486 displays for the breakouts can be purchased here: AliExpress

Benchmark using 4.0" 480x320 ILI9486 based LCD and STM32F103C8T6 Blue Pill @ 72 MHz:

Benchmark Time (microseconds)
Screen fill 129963
Text 19215
Lines 315618
Horiz/Vert Lines 14080
Rectangles (outline) 9339
Rectangles (filled) 357961
Circles (filled) 130584
Circles (outline) 131883
Triangles (outline) 60204
Triangles (filled) 180752
Rounded rects (outline) 43843
Rounded rects (filled) 383875

How to use:

  1. Place the Adafruit_TFT library folder your /libraries/ folder. Restart the Arduino IDE.
  2. If not already installed, add the Adafruit GFX Library to your libraries folder.
  3. Modify pin settings as necessary for your application. Make sure to read the notes regarding pin assignments inside the "STM32_ILI9486_8_bit.h" file.
  4. Enjoy! 😀

About

LCD Library for ILI9486 based TFT Displays ported to STM32duino

License:MIT License


Languages

Language:C++ 100.0%