1
+ The original starting point for this library was the Adafruit_ILI9341
2
+ library in January 2015.
3
+
4
+ The licence for that library is MIT.
5
+
6
+ The first evolution of the library that led to TFT_eSPI is recorded here:
7
+
8
+ https://www.instructables.com/id/Arduino-TFT-display-and-font-library/
9
+
10
+ Adafruit_ILI9341 ORIGINAL LIBRARY HEADER:
11
+
12
+ vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvStartvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
13
+ This is our library for the Adafruit ILI9341 Breakout and Shield
14
+ ----> http://www.adafruit.com/products/1651
15
+
16
+ Check out the links above for our tutorials and wiring diagrams
17
+ These displays use SPI to communicate, 4 or 5 pins are required to
18
+ interface (RST is optional)
19
+ Adafruit invests time and resources providing this open source code,
20
+ please support Adafruit and open-source hardware by purchasing
21
+ products from Adafruit!
22
+
23
+ Written by Limor Fried/Ladyada for Adafruit Industries.
24
+ MIT license, all text above must be included in any redistribution
25
+
26
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^End^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
27
+
28
+
29
+ Selected functions from the Adafruit_GFX library (as it was in 2015) have
30
+ been imported into the TFT_eSPI.cpp file and modified to improve
31
+ performance, add features and make them compatible with the ESP8266 and
32
+ ESP32.
33
+
34
+ The fonts from the Adafruit_GFX and Button functions were added later.
35
+ The fonts can be found with the license.txt file in the "Fonts\GFXFF"
36
+ folder.
37
+
38
+ The Adafruit_GFX functions are covered by the BSD licence.
39
+
40
+ Adafruit_GFX ORIGINAL LIBRARY LICENSE:
41
+
42
+ vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvStartvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
43
+
44
+ Software License Agreement (BSD License)
45
+
46
+ Copyright (c) 2012 Adafruit Industries. All rights reserved.
47
+
48
+ Redistribution and use in source and binary forms, with or without
49
+ modification, are permitted provided that the following conditions are met:
50
+
51
+ - Redistributions of source code must retain the above copyright notice,
52
+ this list of conditions and the following disclaimer.
53
+ - Redistributions in binary form must reproduce the above copyright notice,
54
+ this list of conditions and the following disclaimer in the documentation
55
+ and/or other materials provided with the distribution.
56
+
57
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
58
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
59
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
60
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
61
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
62
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
63
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
64
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
65
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
66
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
67
+ POSSIBILITY OF SUCH DAMAGE.
68
+
69
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^End^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
70
+
71
+ Due to the evolution of the TFT_eSPI library the original code may no longer
72
+ be recognisable, however in most cases the function names can be used as a
73
+ reference point since the aim is to retain a level of compatibility with
74
+ the popular Adafruit_GFX graphics functions.
75
+
76
+ Contributions from other authors are recorded on GitHub:
77
+ https://github.com/Bodmer/TFT_eSPI
78
+
79
+ The major addition to the original library was the addition of fast
80
+ rendering proportional fonts of different sizes as documented here:
81
+
82
+ https://www.instructables.com/id/Arduino-TFT-display-and-font-library/
83
+
84
+ The larger fonts are "Run Length Encoded (RLE)", this was done to
85
+ reduce the font memory footprint for AVR processors that have limited
86
+ FLASH, with the added benefit of a significant improvement in rendering
87
+ speed.
88
+
89
+ In 2016 the library evolved significantly to support the ESP8266 and then
90
+ the ESP32. In 2017 new Touch Screen functions were added and a new Sprite
91
+ class called TFT_eSprite to permit "flicker free" screen updates of complex
92
+ graphics.
93
+
94
+ In 2018 anti-aliased fonts were added along with a Processing font conversion
95
+ sketch.
96
+
97
+ In 2019 the library was adapted to be able to use it with any 32 bit Arduino
98
+ compatible processor. It will run on 8 bit and 16 bit processors but will be
99
+ slow due to extensive use of 32 bit variables.
100
+
101
+ Many of the example sketches are original work that contain code created
102
+ for my own projects. For all the original code the FreeBSD licence applies
103
+ and is compatible with the GNU GPL.
104
+
105
+ vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvStartvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
106
+ Software License Agreement (FreeBSD License)
107
+
108
+ Copyright (c) 2022 Bodmer (https://github.com/Bodmer)
109
+
110
+ All rights reserved.
111
+
112
+ Redistribution and use in source and binary forms, with or without
113
+ modification, are permitted provided that the following conditions are met:
114
+
115
+ 1. Redistributions of source code must retain the above copyright notice, this
116
+ list of conditions and the following disclaimer.
117
+ 2. Redistributions in binary form must reproduce the above copyright notice,
118
+ this list of conditions and the following disclaimer in the documentation
119
+ and/or other materials provided with the distribution.
120
+
121
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
122
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
123
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
124
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
125
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
126
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
127
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
128
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
129
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
130
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
131
+
132
+ The views and conclusions contained in the software and documentation are those
133
+ of the authors and should not be interpreted as representing official policies,
134
+ either expressed or implied, of the FreeBSD Project.
135
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^End^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
0 commit comments