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
b5a74a01
Unverified
Commit
b5a74a01
authored
Feb 10, 2019
by
Bodmer
Committed by
GitHub
Feb 10, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix #301
parent
0b8e9572
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
TFT_eSPI.h
TFT_eSPI.h
+7
-0
No files found.
TFT_eSPI.h
View file @
b5a74a01
...
@@ -389,6 +389,7 @@
...
@@ -389,6 +389,7 @@
#if !defined (ESP32_PARALLEL)
#if !defined (ESP32_PARALLEL)
// Read from display using SPI or software SPI
// Read from display using SPI or software SPI
#if defined (ESP8266) && defined (TFT_SDA_READ)
#if defined (ESP8266) && defined (TFT_SDA_READ)
// Use a bit banged function call for ESP8266 and bi-directional SDA pin
// Use a bit banged function call for ESP8266 and bi-directional SDA pin
...
@@ -398,6 +399,12 @@
...
@@ -398,6 +399,12 @@
// Use a SPI read transfer
// Use a SPI read transfer
#define tft_Read_8() spi.transfer(0)
#define tft_Read_8() spi.transfer(0)
#endif
#endif
// Make sure TFT_MISO is defined if not used to avoid an error message
#ifndef TFT_MISO
#define TFT_MISO -1
#endif
#endif
#endif
...
...
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