This project brings support for the ESP8266 microcontroller to the popular UTFT library.
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.
This work has been tested with an ESP-12 module, an ILI9341 serial display and Arduino IDE 1.6.5, using 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.
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:
Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International 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:
- Understanding Free Cultural Works
- The case for Free use: reasons not to use a Creative Commons -NC license
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.
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.