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
a8cd5c5d
Commit
a8cd5c5d
authored
Aug 06, 2020
by
Bodmer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correct TFT_eFEX issue 24
parent
787893f9
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
9 deletions
+9
-9
TFT_eSPI.cpp
TFT_eSPI.cpp
+6
-6
TFT_eSPI.h
TFT_eSPI.h
+1
-1
library.json
library.json
+1
-1
library.properties
library.properties
+1
-1
No files found.
TFT_eSPI.cpp
View file @
a8cd5c5d
...
@@ -2626,18 +2626,18 @@ void TFT_eSPI::setWindow(int32_t x0, int32_t y0, int32_t x1, int32_t y1)
...
@@ -2626,18 +2626,18 @@ void TFT_eSPI::setWindow(int32_t x0, int32_t y0, int32_t x1, int32_t y1)
DC_D
;
tft_Write_32C
(
y0
,
y1
);
DC_D
;
tft_Write_32C
(
y0
,
y1
);
#else
#else
// No need to send x if it has not changed (speeds things up)
// No need to send x if it has not changed (speeds things up)
if
(
addr_col
!=
(
x0
<<
16
|
x1
))
{
//
if (addr_col != (x0<<16 | x1)) {
DC_C
;
tft_Write_8
(
TFT_CASET
);
DC_C
;
tft_Write_8
(
TFT_CASET
);
DC_D
;
tft_Write_32C
(
x0
,
x1
);
DC_D
;
tft_Write_32C
(
x0
,
x1
);
addr_col
=
(
x0
<<
16
|
x1
);
//
addr_col = (x0<<16 | x1);
}
//
}
// No need to send y if it has not changed (speeds things up)
// No need to send y if it has not changed (speeds things up)
if
(
addr_row
!=
(
y0
<<
16
|
y1
))
{
//
if (addr_row != (y0<<16 | y1)) {
DC_C
;
tft_Write_8
(
TFT_PASET
);
DC_C
;
tft_Write_8
(
TFT_PASET
);
DC_D
;
tft_Write_32C
(
y0
,
y1
);
DC_D
;
tft_Write_32C
(
y0
,
y1
);
addr_row
=
(
y0
<<
16
|
y1
);
//
addr_row = (y0<<16 | y1);
}
//
}
#endif
#endif
DC_C
;
tft_Write_8
(
TFT_RAMWR
);
DC_C
;
tft_Write_8
(
TFT_RAMWR
);
...
...
TFT_eSPI.h
View file @
a8cd5c5d
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
#ifndef _TFT_eSPIH_
#ifndef _TFT_eSPIH_
#define _TFT_eSPIH_
#define _TFT_eSPIH_
#define TFT_ESPI_VERSION "2.2.1
6
"
#define TFT_ESPI_VERSION "2.2.1
7
"
/***************************************************************************************
/***************************************************************************************
** Section 1: Load required header files
** Section 1: Load required header files
...
...
library.json
View file @
a8cd5c5d
{
{
"name"
:
"TFT_eSPI"
,
"name"
:
"TFT_eSPI"
,
"version"
:
"2.2.1
6
"
,
"version"
:
"2.2.1
7
"
,
"keywords"
:
"Arduino, tft, ePaper, display, STM32, ESP8266, NodeMCU, ESP32, M5Stack, ILI9341, ST7735, ILI9163, S6D02A1, ILI9486, ST7789, RM68140"
,
"keywords"
:
"Arduino, tft, ePaper, display, STM32, ESP8266, NodeMCU, ESP32, M5Stack, ILI9341, ST7735, ILI9163, S6D02A1, ILI9486, ST7789, RM68140"
,
"description"
:
"A TFT and ePaper SPI graphics library with optimisation for ESP8266, ESP32 and STM32"
,
"description"
:
"A TFT and ePaper SPI graphics library with optimisation for ESP8266, ESP32 and STM32"
,
"repository"
:
"repository"
:
...
...
library.properties
View file @
a8cd5c5d
name
=
TFT_eSPI
name
=
TFT_eSPI
version
=
2.2.1
6
version
=
2.2.1
7
author
=
Bodmer
author
=
Bodmer
maintainer
=
Bodmer
maintainer
=
Bodmer
sentence
=
TFT graphics library for Arduino processors with performance optimisation for STM32, ESP8266 and ESP32
sentence
=
TFT graphics library for Arduino processors with performance optimisation for STM32, ESP8266 and ESP32
...
...
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