From 324ee1a5108dab22a65c4aa65b21a13264710979 Mon Sep 17 00:00:00 2001 From: Bodmer Date: Sat, 24 Feb 2018 19:31:25 +0000 Subject: [PATCH] Update files for new fonts --- README.md | 2 +- README.txt | 2 +- User_Setup.h | 8 ++++---- library.json | 2 +- library.properties | 2 +- license.txt | 3 +++ 6 files changed, 11 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 79bf602..9382470 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # TFT_eSPI ->>> This branch includes new antialiased font capability, this is a work-in-progress <<< +Update 24th February 2018: Added new smooth (antialiased) fonts. See Smooth Font examples and Tools folder for the font generator. An Arduino IDE compatible graphics and fonts library for ESP8266 and ESP32 processors with a driver for ILI9341, ILI9163, ST7735 and S6D02A1 based TFT displays that support SPI. diff --git a/README.txt b/README.txt index 8262ce5..03ec449 100644 --- a/README.txt +++ b/README.txt @@ -11,7 +11,7 @@ New functions have been added in particular it contains proportional fonts in addition to the original Adafruit font. A sprite class has been added to aid the generation of flicker free complex -raphics. +graphics. Note: This version of the library might not be fully compatible with the original. diff --git a/User_Setup.h b/User_Setup.h index 98f7d50..3d61313 100644 --- a/User_Setup.h +++ b/User_Setup.h @@ -88,7 +88,7 @@ #define TFT_RST PIN_D4 // Reset pin (could connect to NodeMCU RST, see next line) //#define TFT_RST -1 // Set TFT_RST to -1 if the display RESET is connected to NodeMCU RST or 3.3V -#define TOUCH_CS PIN_D2 // Chip select pin (T_CS) of touch screen +//#define TOUCH_CS PIN_D2 // Chip select pin (T_CS) of touch screen //#define TFT_WR PIN_D2 // Write strobe for modified Raspberry Pi TFT only @@ -196,8 +196,8 @@ // #define SPI_FREQUENCY 5000000 // #define SPI_FREQUENCY 10000000 // #define SPI_FREQUENCY 20000000 -//#define SPI_FREQUENCY 27000000 // Actually sets it to 26.67MHz = 80/3 - #define SPI_FREQUENCY 40000000 // Maximum to use SPIFFS +#define SPI_FREQUENCY 27000000 // Actually sets it to 26.67MHz = 80/3 +// #define SPI_FREQUENCY 40000000 // Maximum to use SPIFFS // #define SPI_FREQUENCY 80000000 // The XPT2046 requires a lower SPI clock rate of 2.5MHz so we define that here: @@ -214,4 +214,4 @@ // Transactions are automatically enabled by the library for an ESP32 (to use HAL mutex) // so changing it here has no effect - #define SUPPORT_TRANSACTIONS +//#define SUPPORT_TRANSACTIONS diff --git a/library.json b/library.json index fd60348..019b150 100644 --- a/library.json +++ b/library.json @@ -1,6 +1,6 @@ { "name": "TFT_eSPI", - "version": "0.18.20", + "version": "0.18.21", "keywords": "tft, display, ESP8266, NodeMCU, ESP32, M5Stack, ILI9341, ST7735, ILI9163, S6D02A1, ILI9486", "description": "A TFT SPI graphics library for ESP8266 and ESP32", "repository": diff --git a/library.properties b/library.properties index a70b692..1f05e67 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=TFT_eSPI -version=0.18.20 +version=0.18.21 author=Bodmer maintainer=Bodmer sentence=A fast TFT library for ESP8266 processors and the Arduino IDE diff --git a/license.txt b/license.txt index 8fe1fb4..a58b151 100644 --- a/license.txt +++ b/license.txt @@ -91,6 +91,9 @@ the ESP32. In 2017 new Touch Screen functions were added and a new Sprite class called TFT_eSprite to permit "flicker free" screen updates of complex graphics. +In 2018 anti-aliased fonts were added along with a Processing font conversion +sketch. + Many of the example sketches are original work, that contain code created for my own projects. For all the original code the FreeBSD licence applies and is compatible with the GNU GPL.