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
a9c4351c
Commit
a9c4351c
authored
Aug 26, 2018
by
Bodmer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow more settle time for raw values read from touch controller
parent
2f4c48ee
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
3 deletions
+8
-3
Extensions/Touch.cpp
Extensions/Touch.cpp
+6
-1
library.json
library.json
+1
-1
library.properties
library.properties
+1
-1
No files found.
Extensions/Touch.cpp
View file @
a9c4351c
...
@@ -22,8 +22,13 @@ uint8_t TFT_eSPI::getTouchRaw(uint16_t *x, uint16_t *y){
...
@@ -22,8 +22,13 @@ uint8_t TFT_eSPI::getTouchRaw(uint16_t *x, uint16_t *y){
T_CS_L
;
T_CS_L
;
// Dummy transfer
SPI
.
transfer
(
0xd0
);
SPI
.
transfer
(
0
);
SPI
.
transfer
(
0
);
// Start bit + YP sample request for x position
// Start bit + YP sample request for x position
tmp
=
SPI
.
transfer
(
0xd0
);
SPI
.
transfer
(
0xd0
);
tmp
=
SPI
.
transfer
(
0
);
tmp
=
SPI
.
transfer
(
0
);
tmp
=
tmp
<<
5
;
tmp
=
tmp
<<
5
;
tmp
|=
0x1f
&
(
SPI
.
transfer
(
0
)
>>
3
);
tmp
|=
0x1f
&
(
SPI
.
transfer
(
0
)
>>
3
);
...
...
library.json
View file @
a9c4351c
{
{
"name"
:
"TFT_eSPI"
,
"name"
:
"TFT_eSPI"
,
"version"
:
"1.0.
0
"
,
"version"
:
"1.0.
1
"
,
"keywords"
:
"tft, ePaper, display, ESP8266, NodeMCU, ESP32, M5Stack, ILI9341, ST7735, ILI9163, S6D02A1, ILI9486, ST7789"
,
"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"
,
"description"
:
"A TFT and ePaper SPI graphics library for ESP8266 and ESP32"
,
"repository"
:
"repository"
:
...
...
library.properties
View file @
a9c4351c
name
=
TFT_eSPI
name
=
TFT_eSPI
version
=
1.0.
0
version
=
1.0.
1
author
=
Bodmer
author
=
Bodmer
maintainer
=
Bodmer
maintainer
=
Bodmer
sentence
=
A fast TFT library for ESP8266 processors and the Arduino IDE
sentence
=
A fast TFT library for ESP8266 processors and 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