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
1c4860de
Commit
1c4860de
authored
Dec 29, 2020
by
Bodmer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix RPI display issue #892
Prevent 18 bit display serial driver being invoked for RPi display
parent
95d1cd89
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
16 additions
and
14 deletions
+16
-14
TFT_Drivers/ILI9481_Init.h
TFT_Drivers/ILI9481_Init.h
+6
-6
TFT_Drivers/ILI9486_Init.h
TFT_Drivers/ILI9486_Init.h
+2
-2
TFT_Drivers/ILI9488_Init.h
TFT_Drivers/ILI9488_Init.h
+1
-1
TFT_eSPI.h
TFT_eSPI.h
+1
-1
User_Setup_Select.h
User_Setup_Select.h
+4
-2
library.json
library.json
+1
-1
library.properties
library.properties
+1
-1
No files found.
TFT_Drivers/ILI9481_Init.h
View file @
1c4860de
...
...
@@ -61,7 +61,7 @@
writedata
(
0x0A
);
writecommand
(
0x3A
);
#if
def TFT_PARALLEL_8_BIT
#if
defined (TFT_PARALLEL_8_BIT) || defined (RPI_DISPLAY_TYPE)
writedata
(
0x55
);
// 16 bit colour interface
#else
writedata
(
0x66
);
// 18 bit colour interface
...
...
@@ -150,7 +150,7 @@
writedata
(
0x0A
);
writecommand
(
0x3A
);
#if
def TFT_PARALLEL_8_BIT
#if
defined (TFT_PARALLEL_8_BIT) || defined (RPI_DISPLAY_TYPE)
writedata
(
0x55
);
// 16 bit colour interface
#else
writedata
(
0x66
);
// 18 bit colour interface
...
...
@@ -239,7 +239,7 @@
writedata
(
0x0A
);
writecommand
(
0x3A
);
#if
def TFT_PARALLEL_8_BIT
#if
defined (TFT_PARALLEL_8_BIT) || defined (RPI_DISPLAY_TYPE)
writedata
(
0x55
);
// 16 bit colour interface
#else
writedata
(
0x66
);
// 18 bit colour interface
...
...
@@ -324,7 +324,7 @@
writedata
(
0x0A
);
writecommand
(
0x3A
);
#if
def TFT_PARALLEL_8_BIT
#if
defined (TFT_PARALLEL_8_BIT) || defined (RPI_DISPLAY_TYPE)
writedata
(
0x55
);
// 16 bit colour interface
#else
writedata
(
0x66
);
// 18 bit colour interface
...
...
@@ -412,7 +412,7 @@
writedata
(
0x0A
);
writecommand
(
0x3A
);
#if
def TFT_PARALLEL_8_BIT
#if
defined (TFT_PARALLEL_8_BIT) || defined (RPI_DISPLAY_TYPE)
writedata
(
0x55
);
// 16 bit colour interface
#else
writedata
(
0x66
);
// 18 bit colour interface
...
...
@@ -524,7 +524,7 @@
writedata
(
0x0A
);
writecommand
(
0x3A
);
#if
def TFT_PARALLEL_8_BIT
#if
defined (TFT_PARALLEL_8_BIT) || defined (RPI_DISPLAY_TYPE)
writedata
(
0x55
);
// 16 bit colour interface
#else
writedata
(
0x66
);
// 18 bit colour interface
...
...
TFT_Drivers/ILI9486_Init.h
View file @
1c4860de
...
...
@@ -15,7 +15,7 @@
delay
(
120
);
writecommand
(
0x3A
);
#if
def TFT_PARALLEL_8_BIT
#if
defined (TFT_PARALLEL_8_BIT) || defined (RPI_DISPLAY_TYPE)
writedata
(
0x55
);
// 16 bit colour interface
#else
writedata
(
0x66
);
// 18 bit colour interface
...
...
@@ -64,7 +64,7 @@
writedata
(
0x20
);
writedata
(
0x00
);
#if
def TFT_PARALLEL_8_BIT
#if
defined (TFT_PARALLEL_8_BIT) || defined (RPI_DISPLAY_TYPE)
writecommand
(
TFT_INVOFF
);
#else
writecommand
(
TFT_INVON
);
...
...
TFT_Drivers/ILI9488_Init.h
View file @
1c4860de
...
...
@@ -58,7 +58,7 @@
writedata
(
0x48
);
// MX, BGR
writecommand
(
0x3A
);
// Pixel Interface Format
#if defined (TFT_PARALLEL_8_BIT)
#if defined (TFT_PARALLEL_8_BIT)
|| defined (RPI_DISPLAY_TYPE)
writedata
(
0x55
);
// 16 bit colour for parallel
#else
writedata
(
0x66
);
// 18 bit colour for SPI
...
...
TFT_eSPI.h
View file @
1c4860de
...
...
@@ -16,7 +16,7 @@
#ifndef _TFT_eSPIH_
#define _TFT_eSPIH_
#define TFT_ESPI_VERSION "2.3.5
4
"
#define TFT_ESPI_VERSION "2.3.5
5
"
// Bit level feature flags
// Bit 0 set: viewport capability
...
...
User_Setup_Select.h
View file @
1c4860de
...
...
@@ -116,8 +116,10 @@
#endif
// Invoke 18 bit colour for selected displays
#if (defined (ILI9481_DRIVER) || defined (ILI9486_DRIVER) || defined (ILI9488_DRIVER)) && !defined (TFT_PARALLEL_8_BIT) && !defined (ESP32_PARALLEL)
#define SPI_18BIT_DRIVER
#if !defined (RPI_DISPLAY_TYPE) && !defined (TFT_PARALLEL_8_BIT) && !defined (ESP32_PARALLEL)
#if defined (ILI9481_DRIVER) || defined (ILI9486_DRIVER) || defined (ILI9488_DRIVER)
#define SPI_18BIT_DRIVER
#endif
#endif
// Load the right driver definition - do not tinker here !
...
...
library.json
View file @
1c4860de
{
"name"
:
"TFT_eSPI"
,
"version"
:
"2.3.5
4
"
,
"version"
:
"2.3.5
5
"
,
"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"
,
"repository"
:
...
...
library.properties
View file @
1c4860de
name
=
TFT_eSPI
version
=
2.3.5
4
version
=
2.3.5
5
author
=
Bodmer
maintainer
=
Bodmer
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