mirror of
https://github.com/Bodmer/TFT_eSPI.git
synced 2025-08-04 21:24:44 +02:00
Raise version
This commit is contained in:
10
TFT_eSPI.cpp
10
TFT_eSPI.cpp
@@ -1,9 +1,9 @@
|
|||||||
/***************************************************
|
/***************************************************
|
||||||
Arduino TFT graphics library targetted at ESP8266
|
Arduino TFT graphics library targeted at ESP8266
|
||||||
and ESP32 based boards.
|
and ESP32 based boards.
|
||||||
|
|
||||||
This is a standalone library that contains the
|
This is a standalone library that contains the
|
||||||
hardware driver, the graphics funtions and the
|
hardware driver, the graphics functions and the
|
||||||
proportional fonts.
|
proportional fonts.
|
||||||
|
|
||||||
The larger fonts are Run Length Encoded to reduce their
|
The larger fonts are Run Length Encoded to reduce their
|
||||||
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
#include <SPI.h>
|
#include <SPI.h>
|
||||||
|
|
||||||
// SUPPORT_TRANSACTIONS is manadatory for ESP32 so the hal mutex is toggled
|
// SUPPORT_TRANSACTIONS is mandatory for ESP32 so the hal mutex is toggled
|
||||||
#if defined (ESP32) && !defined (SUPPORT_TRANSACTIONS)
|
#if defined (ESP32) && !defined (SUPPORT_TRANSACTIONS)
|
||||||
#define SUPPORT_TRANSACTIONS
|
#define SUPPORT_TRANSACTIONS
|
||||||
#endif
|
#endif
|
||||||
@@ -206,7 +206,7 @@ void TFT_eSPI::init(void)
|
|||||||
inTransaction = false;
|
inTransaction = false;
|
||||||
locked = true;
|
locked = true;
|
||||||
|
|
||||||
// SUPPORT_TRANSACTIONS is manadatory for ESP32 so the hal mutex is toggled
|
// SUPPORT_TRANSACTIONS is mandatory for ESP32 so the hal mutex is toggled
|
||||||
// so the code here is for ESP8266 only
|
// so the code here is for ESP8266 only
|
||||||
#if !defined (SUPPORT_TRANSACTIONS) && defined (ESP8266)
|
#if !defined (SUPPORT_TRANSACTIONS) && defined (ESP8266)
|
||||||
SPI.setBitOrder(MSBFIRST);
|
SPI.setBitOrder(MSBFIRST);
|
||||||
@@ -2876,7 +2876,7 @@ else SPI.writeBytes((uint8_t*)data,len<<1);
|
|||||||
** Description: draw a line between 2 arbitrary points
|
** Description: draw a line between 2 arbitrary points
|
||||||
***************************************************************************************/
|
***************************************************************************************/
|
||||||
// Bresenham's algorithm - thx wikipedia - speed enhanced by Bodmer to use
|
// Bresenham's algorithm - thx wikipedia - speed enhanced by Bodmer to use
|
||||||
// an eficient FastH/V Line draw routine for line segments of 2 pixels or more
|
// an efficient FastH/V Line draw routine for line segments of 2 pixels or more
|
||||||
|
|
||||||
#if defined (RPI_ILI9486_DRIVER) || defined (ESP32) || defined (RPI_WRITE_STROBE)
|
#if defined (RPI_ILI9486_DRIVER) || defined (ESP32) || defined (RPI_WRITE_STROBE)
|
||||||
|
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "TFT_eSPI",
|
"name": "TFT_eSPI",
|
||||||
"version": "0.18.16",
|
"version": "0.18.17",
|
||||||
"keywords": "tft, display, ESP8266, NodeMCU, ESP32, M5Stack, ILI9341, ST7735, ILI9163, S6D02A1, ILI9486",
|
"keywords": "tft, display, ESP8266, NodeMCU, ESP32, M5Stack, ILI9341, ST7735, ILI9163, S6D02A1, ILI9486",
|
||||||
"description": "A TFT SPI graphics library for ESP8266 and ESP32",
|
"description": "A TFT SPI graphics library for ESP8266 and ESP32",
|
||||||
"repository":
|
"repository":
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
name=TFT_eSPI
|
name=TFT_eSPI
|
||||||
version=0.18.16
|
version=0.18.17
|
||||||
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
|
||||||
|
Reference in New Issue
Block a user