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
2c01c41c
Unverified
Commit
2c01c41c
authored
Nov 09, 2020
by
Bodmer
Committed by
GitHub
Nov 09, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disable DMA as default
parent
aa4a32bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
examples/Generic/Animated_Eyes_2/Animated_Eyes_2.ino
examples/Generic/Animated_Eyes_2/Animated_Eyes_2.ino
+3
-3
No files found.
examples/Generic/Animated_Eyes_2/Animated_Eyes_2.ino
View file @
2c01c41c
...
...
@@ -32,7 +32,7 @@
// DMA can be used with STM32 and ESP32 processors when the interface
// is SPI, uncomment the next line:
#define USE_DMA
//
#define USE_DMA
// Load TFT driver library
#include <SPI.h>
...
...
@@ -43,9 +43,9 @@ TFT_eSPI tft; // A single instance is used for 1 or 2 displays
#define BUFFER_SIZE 1024 // 128 to 1024 seems optimum
#ifdef USE_DMA
#define BUFFERS 2 // 2 toggle buffers with DMA
#define BUFFERS 2 // 2 toggle buffers with DMA
#else
#define BUFFERS 1 // 1 buffer for no DMA
#define BUFFERS 1 // 1 buffer for no DMA
#endif
uint16_t
pbuffer
[
BUFFERS
][
BUFFER_SIZE
];
// Pixel rendering buffer
...
...
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