GithubHelp home page GithubHelp logo

stu9458 / utft-esp8266 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gnulabis/utft-esp

0.0 1.0 0.0 2.41 MB

UTFT with support for ESP8266

License: Other

C 54.54% C++ 9.60% Arduino 27.42% Processing 8.44%

utft-esp8266's Introduction

UTFT-ESP8266

Project Summary

This project brings support for the ESP8266 microcontroller to the popular UTFT library. For now, only displays with serial interfaces are supported (no 8-bit parallel mode, etc).

To use it, simply copy the UTFT folder to your Arduino library folder.

In addition to the original bit-banging communication method of the UTFT library, this project also introduces support for true hardware SPI communication (only supported on ESP8266 for now, sorry for that) for serial interface displays. A new UTFT constructor has been added for this purpose:

UTFT(byte model, int CS, int RST, int SER=0);

When the above constructor is invoked, the library will automatically use the hardware SPI pins for SCK and MOSI (GPIO14 and GPIO13 respectively on the ESP8266).

You might want to have a look at the included Arduino IDE examples for ideas on how to establish the communication between the ESP8266 and your TFT display.

This work has been tested with an ESP-12 module, several ILI9341-based and ST7735-based serial displays, Arduino IDE 1.6.5 and 1.6.6, using stable version 2.0.0 of the excellent esp8266 platform package for Arduino.

Please keep in mind that this is still work in progress. Use it at your own risk.

For bug fixes and code improvements, please submit a pull request.

License and Credits

This project is based on the original UTFT library developed and maintained by Henning Karlsen, and licensed under CC BY-NC-SA 3.0.

As a derivative work of the original UTFT library, this project is licensed under:

license

Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License

Personal view on the non-commercial clause of the license

I personally disagree with the non-commercial clause of the license, I'd much prefer a license which does not restrict commercial reuse, but I'm legally bound by the original author's choice of license.

Interesting articles on this topic:

Required procedure for commercial re-use of this project

If you plan to use this project for commercial purpose, you need to obtain an approval from both myself and Henning Karlsen. Please contact me via email (or just leave a comment to one of my commits) and I will gladly approve your project free of charge, but keep in mind that since this is a derivative work, you also need to contact Hennning Karlsen and get a commercial license for the original UTFT library as well.

Donations

I do not currently accept any donations, but if you find this project useful, you should consider donating to Hennning Karlsen for his great effort in providing and maintaining the original UTFT library.

utft-esp8266's People

Contributors

gnulabis avatar

Watchers

 avatar

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.