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
7d48498f
Commit
7d48498f
authored
Aug 02, 2018
by
Andriy Makukha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Returned SPI_MODE3 for the ST7789 driver
parent
8eefc6f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
TFT_eSPI.h
TFT_eSPI.h
+5
-1
No files found.
TFT_eSPI.h
View file @
7d48498f
...
...
@@ -35,7 +35,11 @@
#define SPI_READ_FREQUENCY SPI_FREQUENCY
#endif
#define TFT_SPI_MODE SPI_MODE0
#ifdef ST7789_DRIVER
#define TFT_SPI_MODE SPI_MODE3
#else
#define TFT_SPI_MODE SPI_MODE0
#endif
// If the frequency is not defined, set a default
#ifndef SPI_TOUCH_FREQUENCY
...
...
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