diff --git a/Extensions/Sprite.cpp b/Extensions/Sprite.cpp index 0a05675..62e8e0c 100644 --- a/Extensions/Sprite.cpp +++ b/Extensions/Sprite.cpp @@ -883,7 +883,7 @@ bool TFT_eSprite::pushSprite(int32_t tx, int32_t ty, int32_t sx, int32_t sy, int _tft->startWrite(); 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(); } diff --git a/TFT_eSPI.h b/TFT_eSPI.h index 78a7f5b..325337f 100644 --- a/TFT_eSPI.h +++ b/TFT_eSPI.h @@ -16,7 +16,7 @@ #ifndef _TFT_eSPIH_ #define _TFT_eSPIH_ -#define TFT_ESPI_VERSION "2.3.70" +#define TFT_ESPI_VERSION "2.3.71" // Bit level feature flags // Bit 0 set: viewport capability diff --git a/User_Setups/Setup23_TTGO_TM.h b/User_Setups/Setup23_TTGO_TM.h index b8e3a55..f5d9ebb 100644 --- a/User_Setups/Setup23_TTGO_TM.h +++ b/User_Setups/Setup23_TTGO_TM.h @@ -35,6 +35,6 @@ #define SMOOTH_FONT #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 diff --git a/User_Setups/Setup25_TTGO_T_Display.h b/User_Setups/Setup25_TTGO_T_Display.h index 3c1f436..50b2447 100644 --- a/User_Setups/Setup25_TTGO_T_Display.h +++ b/User_Setups/Setup25_TTGO_T_Display.h @@ -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 #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_HEIGHT 240 @@ -33,7 +33,7 @@ #define SMOOTH_FONT //#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 diff --git a/User_Setups/Setup35_ILI9341_STM32_Port_Bus.h b/User_Setups/Setup35_ILI9341_STM32_Port_Bus.h index ded0dc6..9bd88fa 100644 --- a/User_Setups/Setup35_ILI9341_STM32_Port_Bus.h +++ b/User_Setups/Setup35_ILI9341_STM32_Port_Bus.h @@ -7,10 +7,12 @@ // Define STM32 to invoke STM32 optimised driver #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 #define STM_PORTA_DATA_BUS //#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) #define TFT_PARALLEL_8_BIT diff --git a/library.json b/library.json index a326735..530c93a 100644 --- a/library.json +++ b/library.json @@ -1,6 +1,6 @@ { "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", "description": "A TFT and ePaper SPI graphics library with optimisation for Raspberry Pi Pico, ESP8266, ESP32 and STM32", "repository": diff --git a/library.properties b/library.properties index c45368c..77ff1f0 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=TFT_eSPI -version=2.3.70 +version=2.3.71 author=Bodmer maintainer=Bodmer sentence=TFT graphics library for Arduino processors with performance optimisation for RP2040, STM32, ESP8266 and ESP32