Skip to content
Adafruit TFT library using 8 bit parallel access ported to STM32
C++ C
Branch: master
Clone or download
stevstrong Update and rename README.txt to README.md
Added dependency to Libmaple core files
Latest commit 66ef226 Oct 22, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github firts check in Sep 3, 2016
bitmaps
examples update tftpaint.ino Jan 22, 2018
.gitattributes :octocat: Added .gitattributes & .gitignore files Sep 3, 2016
.gitignore :octocat: Added .gitattributes & .gitignore files Sep 3, 2016
Adafruit_TFTLCD_8bit_STM32.cpp Code and documentation cleanups regarding connection setup. (#10) Jan 22, 2018
Adafruit_TFTLCD_8bit_STM32.h Code and documentation cleanups regarding connection setup. (#10) Jan 22, 2018
README.md Update and rename README.txt to README.md Oct 22, 2019
hx8347g.cpp Fix misisng return value. (#12) Mar 19, 2018
hx8347g.h firts check in Sep 3, 2016
hx8357x.cpp Fix misisng return value. (#12) Mar 19, 2018
hx8357x.h firts check in Sep 3, 2016
ili932x.cpp - some cleanup and added test routines Dec 18, 2017
ili932x.h corrected screen rotation handling Sep 22, 2016
ili9341.cpp - some cleanup and added test routines Dec 18, 2017
ili9341.h adapt for unknown"ILI9341" controller + cosmetics Feb 25, 2017

README.md

This is a library for the 8 bit parallel driven TFT displays, ported from the Adafruit library [https://github.com/adafruit/TFTLCD-Library] and adapted to STM32F103Cx controller. No other CPU architecture is supportted at the moment.

This library depends on the Libmaple core files from:

https://github.com/stevstrong/Arduino_STM32 or

https://github.com/rogerclarkmelbourne/Arduino_STM32.

The scope of this library is to achieve highest display update rate while maintaing the compatibility with original Adafruit display API. Only tested with ILI9328 and "unknown" ILI9341-compatitble driver chips.

Contribution from users for other display control types is welcome and made easy by allocating separate files for each controller type in part.

How to use:

  • Place the Adafruit_TFT library folder your /libraries/ folder. You may need to create the libraries subfolder if its your first library. Restart the IDE.

  • Also requires the Adafruit_GFX library for Arduino. https://github.com/adafruit/Adafruit-GFX-Library . Alternatively, you can change Adafruit_TFTLCD_8bit_STM32.h to #include <Adafruit_GFX_AS.h>, instead.

  • Pin connections can be configured near the top of Adafruit_TFTLCD_8bit_STM32.h . Note that the data lines have to be on consequtive pins of the same output register (PB0...PB7, by default). To use the higher pins (PX8..PX15), set TFT_DATA_SHIFT to 8. The four control pins must all be one output register (the same as the data pins, or a different one), but can be freely assigned within the register. The TFT reset line can be assigned, freely.

You can’t perform that action at this time.