Add new background fill approach to smooth fonts

A new background rendering approach is used for smooth fonts which almost eliminates flicker. tft.print... can now be used with a background rendered for smooth fonts. Font_Demo_1/2/3... examples have been updated.
A new "docs" folder has been created and files moved there. The Tools folder now only contains support tools.

#1757 fixed by using Arduino calls.

A new USER_SETUP_ID parameter can be added to setup files and checked via a new verifySetupID(id); function.

Version raised to v2.4.50
This commit is contained in:
Bodmer committed 2022-04-18 19:15:40 +01:00
1 parent d0494af057
commit 7fc8b99b64
89 files changed
+307 -121

No files matched your search

@@ -1,5 +1,6 @@
// This setup is for the RP2040 processor only when used with 8 bit parallel displays
// See SetupX_Template.h for all options available
#define USER_SETUP_ID 100
////////////////////////////////////////////////////////////////////////////////////////////
// Interface
@@ -1,5 +1,6 @@
// This setup is for the RP2040 processor only when used with 8 bit parallel displays
// See SetupX_Template.h for all options available
#define USER_SETUP_ID 101
////////////////////////////////////////////////////////////////////////////////////////////
// Interface
@@ -1,5 +1,6 @@
// This setup is for the RP2040 processor only when used with 8 bit parallel displays
// See SetupX_Template.h for all options available
#define USER_SETUP_ID 102
////////////////////////////////////////////////////////////////////////////////////////////
// Interface
@@ -1,5 +1,6 @@
// This setup is for the RP2040 processor only when used with 8 bit parallel displays
// See SetupX_Template.h for all options available
#define USER_SETUP_ID 103
////////////////////////////////////////////////////////////////////////////////////////////
// Interface
@@ -1,5 +1,6 @@
// This setup is for the RP2040 processor only when used with 8 bit parallel displays
// See SetupX_Template.h for all options available
#define USER_SETUP_ID 104
////////////////////////////////////////////////////////////////////////////////////////////
// Interface
+1
View File
@@ -1,5 +1,6 @@
// For ESP8266
// See SetupX_Template.h for all options available
#define USER_SETUP_ID 10
#define RPI_DISPLAY_TYPE
#define ILI9486_DRIVER
+2
View File
@@ -1,5 +1,7 @@
// For ESP32
// See SetupX_Template.h for all options available
#define USER_SETUP_ID 11
#define RPI_DISPLAY_TYPE
#define ILI9486_DRIVER
+1
View File
@@ -1,4 +1,5 @@
// See SetupX_Template.h for all options available
#define USER_SETUP_ID 12
//Setup file for the M5Stack Basic Core
+1
View File
@@ -1,4 +1,5 @@
// ST7789 135 x 240 display with no chip select line
#define USER_SETUP_ID 135
#define ST7789_DRIVER // Configure all registers
+1
View File
@@ -1,4 +1,5 @@
// ST7789 135 x 240 display with no chip select line
#define USER_SETUP_ID 136
#define ST7789_DRIVER // Configure all registers
@@ -1,4 +1,5 @@
// LilyGo T-Display RP2040 (ST7789 135 x 240 display)
#define USER_SETUP_ID 137
#define ST7789_DRIVER // Configure all registers
+1
View File
@@ -1,4 +1,5 @@
// See SetupX_Template.h for all options available
#define USER_SETUP_ID 13
#define ESP32_PARALLEL
+1
View File
@@ -1,4 +1,5 @@
// See SetupX_Template.h for all options available
#define USER_SETUP_ID 14
#define TFT_PARALLEL_8_BIT
+1
View File
@@ -1,4 +1,5 @@
// See SetupX_Template.h for all options available
#define USER_SETUP_ID 15
#define HX8357D_DRIVER
+1
View File
@@ -1,4 +1,5 @@
// See SetupX_Template.h for all options available
#define USER_SETUP_ID 16
#define ESP32_PARALLEL
+1
View File
@@ -1,4 +1,5 @@
// See SetupX_Template.h for all options available
#define USER_SETUP_ID 17
#define EPD_DRIVER // ePaper driver
+1
View File
@@ -1,4 +1,5 @@
// See SetupX_Template.h for all options available
#define USER_SETUP_ID 18
#define ST7789_DRIVER
+1
View File
@@ -1,4 +1,5 @@
// See SetupX_Template.h for all options available
#define USER_SETUP_ID 19
#define ESP32_PARALLEL
+1
View File
@@ -1,4 +1,5 @@
// See SetupX_Template.h for all options available
#define USER_SETUP_ID 1
#define ILI9341_DRIVER
+1
View File
@@ -1,4 +1,5 @@
// See SetupX_Template.h for all options available
#define USER_SETUP_ID 200
#define GC9A01_DRIVER
+1
View File
@@ -7,6 +7,7 @@
// If this file is edited correctly then all the library example sketches should
// run without the need to make any more changes for a particular hardware setup!
// Note that some sketches are designed for a particular TFT pixel width/height
#define USER_SETUP_ID 201
// User defined setup
#define ST7796_DRIVER
+1
View File
@@ -1,4 +1,5 @@
// See SetupX_Template.h for all options available
#define USER_SETUP_ID 202
#define SSD1351_DRIVER
+1
View File
@@ -1,4 +1,5 @@
// ST7789 240 x 280 display with no chip select line
#define USER_SETUP_ID 203
#define ST7789_DRIVER // Configure all registers
+1
View File
@@ -1,4 +1,5 @@
// See SetupX_Template.h for all options available
#define USER_SETUP_ID 20
#define ILI9488_DRIVER
+1
View File
@@ -1,4 +1,5 @@
// See SetupX_Template.h for all options available
#define USER_SETUP_ID 21
#define ILI9488_DRIVER
+3
View File
@@ -1,4 +1,5 @@
// Setup for the TTGO T4 v1.1 ("Bitcoin Tracker") ESP32 board with 2.2" ILI9341 display
#define USER_SETUP_ID 22
// See SetupX_Template.h for all options available
@@ -15,6 +16,8 @@
#define TFT_DC 26 // pin 32 for TTGO T4 v1.3
#define TFT_RST 5
#define TOUCH_CS -1
#define LOAD_GLCD
#define LOAD_FONT2
#define LOAD_FONT4
+2 -1
View File
@@ -1,4 +1,5 @@
// Setup for the TTGO T4 v1.3 ESP32 board with 2.2" ILI9341 display
#define USER_SETUP_ID 99922
// See SetupX_Template.h for all options available
@@ -12,7 +13,7 @@
#define TFT_SCLK 18
#define TFT_CS 27
#define TFT_DC 32 // pin 26 for TTGO T4 v1.1
#define TFT_DC 32 // pin 26 for TTGO T4 v1.3
#define TFT_RST 5
#define LOAD_GLCD
+3
View File
@@ -1,4 +1,5 @@
// Setup for the TTGO TM (Music) ESP32 board with 2.4" ST7789V display
#define USER_SETUP_ID 23
// See SetupX_Template.h for all options available
@@ -14,6 +15,8 @@
#define TFT_DC 16
#define TFT_RST 17
#define TOUCH_CS -1
#define TFT_WIDTH 240
#define TFT_HEIGHT 320
+1
View File
@@ -1,4 +1,5 @@
// ST7789 240 x 240 display with no chip select line
#define USER_SETUP_ID 24
#define ST7789_DRIVER // Configure all registers
+3
View File
@@ -1,4 +1,5 @@
// Setup for the TTGO T Display
#define USER_SETUP_ID 25
// See SetupX_Template.h for all options available
@@ -18,6 +19,8 @@
#define TFT_DC 16
#define TFT_RST 23
#define TOUCH_CS -1
#define TFT_BL 4 // Display backlight control pin
#define TFT_BACKLIGHT_ON HIGH // HIGH or LOW are options
+2
View File
@@ -1,3 +1,5 @@
#define USER_SETUP_ID 26
#define ST7735_DRIVER
#define TFT_WIDTH 80
+2
View File
@@ -7,6 +7,8 @@
// If this file is edited correctly then all the library example sketches should
// run without the need to make any more changes for a particular hardware setup!
#define USER_SETUP_ID 27
// ##################################################################################
//
// Section 0. Call up the right driver file and any options for it
+1
View File
@@ -6,6 +6,7 @@
//
// If this file is edited correctly then all the library example sketches should
// run without the need to make any more changes for a particular hardware setup!
#define USER_SETUP_ID 28
// ##################################################################################
//
+1
View File
@@ -2,6 +2,7 @@
///////////////////////////////////////////////////
// Setup for STM32 Nucleo and ILI9341 display //
///////////////////////////////////////////////////
#define USER_SETUP_ID 29
// Last update by Bodmer: 28/11/19
+1
View File
@@ -1,4 +1,5 @@
// See SetupX_Template.h for all options available
#define USER_SETUP_ID 2
#define ST7735_DRIVER
+3 -1
View File
@@ -1,7 +1,9 @@
////////////////////////////////////////////////////
// Setup for Nucleo 64 or 144 and ILI9341 display //
////////////////////////////////////////////////////
#define USER_SETUP_ID 30
// See SetupX_Template.h for all options available
// Define STM32 to invoke optimised processor support
+1 -1
View File
@@ -1,7 +1,7 @@
////////////////////////////////////////////////////
// Setup for Nucleo 64 or 144 and ILI9341 display //
////////////////////////////////////////////////////
#define USER_SETUP_ID 31
// See SetupX_Template.h for all options available
+1
View File
@@ -1,6 +1,7 @@
//////////////////////////////////////////////////////////////
// Setup for STM32F103 (e.g. Blue Pill) and ILI9341 display //
//////////////////////////////////////////////////////////////
#define USER_SETUP_ID 32
// Last update by Bodmer: 14/1/20
+1 -1
View File
@@ -1,7 +1,7 @@
///////////////////////////////////////////////////
// Setup for STM32 Nucleo and ILI9341 display //
///////////////////////////////////////////////////
#define USER_SETUP_ID 33
// Last update by Bodmer: 28/11/19
+1 -1
View File
@@ -1,7 +1,7 @@
////////////////////////////////////////////////////
// Setup for Nucleo 64 or 144 and ILI9341 display //
////////////////////////////////////////////////////
#define USER_SETUP_ID 34
// See SetupX_Template.h for all options available
// Define STM32 to invoke optimised processor support
+1 -1
View File
@@ -1,7 +1,7 @@
//////////////////////////////////////////////////////////////
// Setup for STM32 and ILI9341 display //
//////////////////////////////////////////////////////////////
#define USER_SETUP_ID 35
// Last update by Bodmer: 28/3/20
// Define STM32 to invoke STM32 optimised driver
+1
View File
@@ -1,4 +1,5 @@
// See SetupX_Template.h for all options available
#define USER_SETUP_ID 36
#define RPI_DISPLAY_TYPE
#define ST7796_DRIVER
+1
View File
@@ -1,4 +1,5 @@
// See SetupX_Template.h for all options available
#define USER_SETUP_ID 3
#define ILI9163_DRIVER
+1 -1
View File
@@ -1,5 +1,5 @@
// Setup for ESP32 and ST7735 80 x 160 TFT
#define USER_SETUP_ID 43
// See SetupX_Template.h for all options available
#define ST7735_DRIVER
+1
View File
@@ -1,3 +1,4 @@
#define USER_SETUP_ID 44
#define ST7789_DRIVER
+2
View File
@@ -1,3 +1,5 @@
#define USER_SETUP_ID 45
#define ST7789_DRIVER
#define TFT_WIDTH 240
+2
View File
@@ -1,3 +1,5 @@
#define USER_SETUP_ID 46
#define GC9A01_DRIVER
#define TFT_MISO 19
+1
View File
@@ -1,4 +1,5 @@
// Config for two ST7735 128 x 128 displays for Animated_Eyes example
#define USER_SETUP_ID 47
#define ST7735_DRIVER // Configure all registers
+1
View File
@@ -1,4 +1,5 @@
// See SetupX_Template.h for all options available
#define USER_SETUP_ID 4
#define S6D02A1_DRIVER
+1 -1
View File
@@ -6,7 +6,7 @@
//
// If this file is edited correctly then all the library example sketches should
// run without the need to make any more changes for a particular hardware setup!
#define USER_SETUP_ID 50
// ##################################################################################
//
// Section 0. Call up the right driver file and any options for it
+2
View File
@@ -1,3 +1,5 @@
#define USER_SETUP_ID 51
#define ILI9481_DRIVER
#define TFT_BL 12 // LED back-light control pin
+2
View File
@@ -1,3 +1,5 @@
#define USER_SETUP_ID 52
#define ST7796_DRIVER
#define TFT_BL 12 // LED back-light control pin
+1
View File
@@ -1,4 +1,5 @@
// See SetupX_Template.h for all options available
#define USER_SETUP_ID 5
#define RPI_ILI9486_DRIVER // 20MHz maximum SPI
+1 -1
View File
@@ -8,7 +8,7 @@
// run without the need to make any more changes for a particular hardware setup!
// Note that some sketches are designed for a particular TFT pixel width/height
#define USER_SETUP_ID 60
// ##################################################################################
//
// Section 1. Call up the right driver file and any options for it
+1 -1
View File
@@ -1,5 +1,5 @@
// Setup file for RP2040 and SPI ILI9341 display using PIO for the display interface
#define USER_SETUP_ID 61
// The PIO can only be user with Earle Philhower's RP2040 board package:
// https://github.com/earlephilhower/arduino-pico
@@ -8,7 +8,7 @@
// run without the need to make any more changes for a particular hardware setup!
// Note that some sketches are designed for a particular TFT pixel width/height
#define USER_SETUP_ID 62
// ##################################################################################
//
// Section 1. Call up the right driver file and any options for it
+1
View File
@@ -1,4 +1,5 @@
// See SetupX_Template.h for all options available
#define USER_SETUP_ID 6
#define RPI_ILI9486_DRIVER // 20MHz maximum SPI
+1 -1
View File
@@ -1,6 +1,6 @@
// Setup for the ESP32 S2 with ILI9341 display
// Note SPI DMA with ESP32 S2 is not currently supported
#define USER_SETUP_ID 70
// See SetupX_Template.h for all options available
#define ILI9341_DRIVER
+1 -1
View File
@@ -1,6 +1,6 @@
// Setup for the ESP32 S2 with ST7789 display
// Note SPI DMA with ESP32 S2 is not currently supported
#define USER_SETUP_ID 71
// See SetupX_Template.h for all options available
#define ST7789_DRIVER // Configure all registers
@@ -1,4 +1,5 @@
// Support for 1.47" 320x172 Round Rectangle Color IPS TFT Display
#define USER_SETUP_ID 71
#define ST7789_DRIVER // Full configuration option, define additional parameters below for this display
+1
View File
@@ -1,4 +1,5 @@
// See SetupX_Template.h for all options available
#define USER_SETUP_ID 7
#define ST7735_DRIVER
+1
View File
@@ -1,4 +1,5 @@
// See SetupX_Template.h for all options available
#define USER_SETUP_ID 8
#define ILI9163_DRIVER
+1
View File
@@ -1,4 +1,5 @@
// See SetupX_Template.h for all options available
#define USER_SETUP_ID 9
#define ST7735_DRIVER
+1
View File
@@ -8,6 +8,7 @@
// run without the need to make any more changes for a particular hardware setup!
// Note that some sketches are designed for a particular TFT pixel width/height
#define USER_SETUP_ID 0xFFFFFFFF
// ##################################################################################
//