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
e01ea43b
Commit
e01ea43b
authored
Nov 25, 2018
by
Bodmer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix SPI incompatibility
I fixed the parallel and broke the SPI, now both work!
parent
5e62875f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
TFT_eSPI.h
TFT_eSPI.h
+5
-1
library.json
library.json
+1
-1
library.properties
library.properties
+1
-1
No files found.
TFT_eSPI.h
View file @
e01ea43b
...
...
@@ -228,7 +228,11 @@
#define SPI_32(H,L) ( (H)<<16 | (L) )
#define COL_32(H,L) ( (H)<<16 | (L) )
#else
#define SPI_32(H,L) ( (H)<<16 | (L) )
#ifdef ESP32_PARALLEL
#define SPI_32(H,L) ( (H)<<16 | (L) )
#else
#define SPI_32(H,L) ( ((H)<<8 | (H)>>8) | (((L)<<8 | (L)>>8)<<16 ) )
#endif
// Swap byte order for concatenated 16 bit colors
// AB CD -> DCBA for 32 bit register write
#define COL_32(H,L) ( ((H)<<8 | (H)>>8) | (((L)<<8 | (L)>>8)<<16 ) )
...
...
library.json
View file @
e01ea43b
{
"name"
:
"TFT_eSPI"
,
"version"
:
"1.3.
2
"
,
"version"
:
"1.3.
3
"
,
"keywords"
:
"tft, ePaper, display, ESP8266, NodeMCU, ESP32, M5Stack, ILI9341, ST7735, ILI9163, S6D02A1, ILI9486, ST7789"
,
"description"
:
"A TFT and ePaper SPI graphics library for ESP8266 and ESP32"
,
"repository"
:
...
...
library.properties
View file @
e01ea43b
name
=
TFT_eSPI
version
=
1.3.
2
version
=
1.3.
3
author
=
Bodmer
maintainer
=
Bodmer
sentence
=
A fast TFT graphics library for ESP8266 and ESP32 processors for 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