Giter Club home page Giter Club logo

adafruit_ili9341_8bit_stm's Introduction

##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

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.