Correct comments

This commit is contained in:
Bodmer
2021-11-03 23:45:16 +00:00
parent 9e64092f58
commit e23d8e083b
7 changed files with 11 additions and 9 deletions

View File

@@ -883,7 +883,7 @@ bool TFT_eSprite::pushSprite(int32_t tx, int32_t ty, int32_t sx, int32_t sy, int
_tft->startWrite(); _tft->startWrite();
while (sh--) while (sh--)
{ {
_tft->pushImage(tx, ty++, sw, 1, _img8 + (_bitwidth>>3) * _ys, (bool)false ); _tft->pushImage(tx, ty++, sw, 1, _img8 + (_bitwidth>>3) * _ys++, (bool)false );
} }
_tft->endWrite(); _tft->endWrite();
} }

View File

@@ -16,7 +16,7 @@
#ifndef _TFT_eSPIH_ #ifndef _TFT_eSPIH_
#define _TFT_eSPIH_ #define _TFT_eSPIH_
#define TFT_ESPI_VERSION "2.3.70" #define TFT_ESPI_VERSION "2.3.71"
// Bit level feature flags // Bit level feature flags
// Bit 0 set: viewport capability // Bit 0 set: viewport capability

View File

@@ -35,6 +35,6 @@
#define SMOOTH_FONT #define SMOOTH_FONT
#define SPI_FREQUENCY 40000000 // This display also seems to work reliably at 80MHz #define SPI_FREQUENCY 40000000 // This display also seems to work reliably at 80MHz
#define SPI_FREQUENCY 80000000 //#define SPI_FREQUENCY 80000000
#define SPI_READ_FREQUENCY 6000000 // 6 MHz is the maximum SPI read speed for the ST7789V #define SPI_READ_FREQUENCY 6000000 // 6 MHz is the maximum SPI read speed for the ST7789V

View File

@@ -1,9 +1,9 @@
// Setup for the TTGO T4 ("Bitcoin Tracker") ESP32 board with 2.2" ILI9341 display // Setup for the TTGO T Display
// See SetupX_Template.h for all options available // See SetupX_Template.h for all options available
#define ST7789_DRIVER #define ST7789_DRIVER
#define TFT_SDA_READ // Display has a bidirectionsl SDA pin #define TFT_SDA_READ // Display has a bidirectional SDA pin
#define TFT_WIDTH 135 #define TFT_WIDTH 135
#define TFT_HEIGHT 240 #define TFT_HEIGHT 240
@@ -33,7 +33,7 @@
#define SMOOTH_FONT #define SMOOTH_FONT
//#define SPI_FREQUENCY 27000000 //#define SPI_FREQUENCY 27000000
#define SPI_FREQUENCY 40000000 // Maximum for ILI9341 #define SPI_FREQUENCY 40000000
#define SPI_READ_FREQUENCY 6000000 // 6 MHz is the maximum SPI read speed for the ST7789V #define SPI_READ_FREQUENCY 6000000 // 6 MHz is the maximum SPI read speed for the ST7789V

View File

@@ -7,10 +7,12 @@
// Define STM32 to invoke STM32 optimised driver // Define STM32 to invoke STM32 optimised driver
#define STM32 #define STM32
// Define if Port A (or B) pins 0-7 are used for data bus bits 0-7 // Define if Port A (B, C or D) pins 0-7 are used for data bus bits 0-7
// this will improve rendering performance by a factor of ~8x // this will improve rendering performance by a factor of ~8x
#define STM_PORTA_DATA_BUS #define STM_PORTA_DATA_BUS
//#define STM_PORTB_DATA_BUS // Pins below must re re-allocated to use this option //#define STM_PORTB_DATA_BUS // Pins below must re re-allocated to use this option
//#define STM_PORTC_DATA_BUS // Pins below must re re-allocated to use this option
//#define STM_PORTD_DATA_BUS // Pins below must re re-allocated to use this option
// Tell the library to use 8 bit parallel mode (otherwise SPI is assumed) // Tell the library to use 8 bit parallel mode (otherwise SPI is assumed)
#define TFT_PARALLEL_8_BIT #define TFT_PARALLEL_8_BIT

View File

@@ -1,6 +1,6 @@
{ {
"name": "TFT_eSPI", "name": "TFT_eSPI",
"version": "2.3.70", "version": "2.3.71",
"keywords": "Arduino, tft, ePaper, display, Pico, RP2040, STM32, ESP8266, NodeMCU, ESP32, M5Stack, ILI9341, ST7735, ILI9163, S6D02A1, ILI9481, ILI9486, ILI9488, ST7789, RM68140, SSD1351, SSD1963, ILI9225, HX8357D", "keywords": "Arduino, tft, ePaper, display, Pico, RP2040, STM32, ESP8266, NodeMCU, ESP32, M5Stack, ILI9341, ST7735, ILI9163, S6D02A1, ILI9481, ILI9486, ILI9488, ST7789, RM68140, SSD1351, SSD1963, ILI9225, HX8357D",
"description": "A TFT and ePaper SPI graphics library with optimisation for Raspberry Pi Pico, ESP8266, ESP32 and STM32", "description": "A TFT and ePaper SPI graphics library with optimisation for Raspberry Pi Pico, ESP8266, ESP32 and STM32",
"repository": "repository":

View File

@@ -1,5 +1,5 @@
name=TFT_eSPI name=TFT_eSPI
version=2.3.70 version=2.3.71
author=Bodmer author=Bodmer
maintainer=Bodmer maintainer=Bodmer
sentence=TFT graphics library for Arduino processors with performance optimisation for RP2040, STM32, ESP8266 and ESP32 sentence=TFT graphics library for Arduino processors with performance optimisation for RP2040, STM32, ESP8266 and ESP32