Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
TFT_eSPI
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
TFT_eSPI
Commits
8df115ab
Commit
8df115ab
authored
Feb 22, 2018
by
Bodmer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Raise version
parent
2fbc2e4a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
TFT_eSPI.cpp
TFT_eSPI.cpp
+5
-5
library.json
library.json
+1
-1
library.properties
library.properties
+1
-1
No files found.
TFT_eSPI.cpp
View file @
8df115ab
/***************************************************
Arduino TFT graphics library target
t
ed at ESP8266
Arduino TFT graphics library targeted at ESP8266
and ESP32 based boards.
This is a standalone library that contains the
hardware driver, the graphics funtions and the
hardware driver, the graphics fun
c
tions and the
proportional fonts.
The larger fonts are Run Length Encoded to reduce their
...
...
@@ -19,7 +19,7 @@
#include <SPI.h>
// SUPPORT_TRANSACTIONS is man
a
datory for ESP32 so the hal mutex is toggled
// SUPPORT_TRANSACTIONS is mandatory for ESP32 so the hal mutex is toggled
#if defined (ESP32) && !defined (SUPPORT_TRANSACTIONS)
#define SUPPORT_TRANSACTIONS
#endif
...
...
@@ -206,7 +206,7 @@ void TFT_eSPI::init(void)
inTransaction
=
false
;
locked
=
true
;
// SUPPORT_TRANSACTIONS is man
a
datory for ESP32 so the hal mutex is toggled
// SUPPORT_TRANSACTIONS is mandatory for ESP32 so the hal mutex is toggled
// so the code here is for ESP8266 only
#if !defined (SUPPORT_TRANSACTIONS) && defined (ESP8266)
SPI
.
setBitOrder
(
MSBFIRST
);
...
...
@@ -2876,7 +2876,7 @@ else SPI.writeBytes((uint8_t*)data,len<<1);
** Description: draw a line between 2 arbitrary points
***************************************************************************************/
// Bresenham's algorithm - thx wikipedia - speed enhanced by Bodmer to use
// an eficient FastH/V Line draw routine for line segments of 2 pixels or more
// an ef
f
icient FastH/V Line draw routine for line segments of 2 pixels or more
#if defined (RPI_ILI9486_DRIVER) || defined (ESP32) || defined (RPI_WRITE_STROBE)
...
...
library.json
View file @
8df115ab
{
"name"
:
"TFT_eSPI"
,
"version"
:
"0.18.1
6
"
,
"version"
:
"0.18.1
7
"
,
"keywords"
:
"tft, display, ESP8266, NodeMCU, ESP32, M5Stack, ILI9341, ST7735, ILI9163, S6D02A1, ILI9486"
,
"description"
:
"A TFT SPI graphics library for ESP8266 and ESP32"
,
"repository"
:
...
...
library.properties
View file @
8df115ab
name
=
TFT_eSPI
version
=
0.18.1
6
version
=
0.18.1
7
author
=
Bodmer
maintainer
=
Bodmer
sentence
=
A fast TFT library for ESP8266 processors and the Arduino IDE
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment