Skip to content

iwalpola/Adafruit_ILI9341_8bit_STM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 

Repository files navigation

##Better library is available here: https://github.com/stevstrong/Adafruit_TFTLCD_8bit_STM32

Adafruit_ILI9341_8bit_STM for STM32duino

8 bit parallel library for ILI9341 and STM32F1

Working Example List

  • graphicstest.ino

Demo (YouTube)

Benchmarks

Benchmark                Time (microseconds)
Screen fill              320577
Text                     14869
Lines                    129592
Horiz/Vert Lines         25437
Rectangles (outline)     16493
Rectangles (filled)      666012
Circles (filled)         104502
Circles (outline)        96406
Triangles (outline)      30358
Triangles (filled)       230338
Rounded rects (outline)  41103
Rounded rects (filled)   709046

How to use

8 bit parallel interface

Port data |D7 |D6 |D5 |D4 |D3 |D2 |D1 |D0 |
Pin stm32 |PA7|PA6|PA5|PA4|PA3|PA2|PA1|PA0|

Control Pins

Control pins |RD |WR |RS |CS |RST|
Pin stm32 |PB4|PB5|PB6|PB7|PB8|

Changing Pins

If you want to change control pins, they can be modified in Adafruit_ILI9341_8bit_STM.h header file. You will also have to modify the setting of these pins as output in Adafruit_ILI9341_8bit_STM.cpp, lines 18-22.

If you want to change data bus pins, you will have to change the functions called write8(), setWriteDataBus() accordingly

Details

  • This library works with the Adafruit 2.4" Touch Shield V2 (8 bit 8080 type interface)
  • It has modifications to support STM32. It has been tested with the STM32F103C8T6 (blue pill).
  • Check out the links above for wiring details.
  • These displays use 8080 type 8 bit parallel data bus (8 pins), and
  • 5 control pins to interface (RST is optional).
  • Originally written by Limor Fried/Ladyada for Adafruit Industries.
  • MIT license, all text above must be included in any redistribution

Usage

  • Place the Adafruit_ILI9341_8bit_STM library folder your C:\Program Files (x86)\Arduino\hardware\Arduino_STM32\STM32F1\libraries folder. Restart the IDE
  • Also requires the Adafruit_GFX library for Arduino.

About

8 bit parallel library for ILI9341 and STM32F1

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages