Commit Graph

127 Commits

Author SHA1 Message Date
Bodmer 79b41bc833 Add #define to disable warnings (#1788)
// Define in setup to disable all #warnings in library (can be put in User_Setup_Select.h)
#define DISABLE_ALL_LIBRARY_WARNINGS
2022-04-27 22:28:52 +01:00
Bodmer f0ec6d22b3 Add ESP32 C3 support
Tested with Stamp C3
2022-04-27 21:57:11 +01:00
Bodmer e09230c9ac Raise version to 2.4.60 2022-04-25 02:29:08 +01:00
Bodmer d655e1383a
Merge pull request #1789 from Bodmer/ESP32_S3
ESP32 S3 (tested) plus ESP32 C3 (untested but compiles!) support added
2022-04-24 21:36:22 +01:00
Bodmer cfb4689c85 Patch for ESP32 C3 - may or may not work!
I do NOT have and ESP32 C3 to test with!
2022-04-24 04:00:36 +01:00
Bodmer 4e8af767bd Fix bug for ESP32 with 8 bit parallel SSD1963 2022-04-23 19:26:20 +01:00
Bodmer 89a2457ca9 Update to fix ESP32 S3 with ILI9488 2022-04-22 22:48:07 +01:00
Bodmer a1b6240370
Update TFT_eSPI_ESP32_S3.c 2022-04-22 21:54:13 +01:00
Bodmer f624d5059c
Update TFT_eSPI_ESP32.c 2022-04-22 21:27:33 +01:00
Bodmer 38b52a46a1
Update TFT_eSPI_ESP32.c 2022-04-22 21:26:22 +01:00
Bodmer 338d56ca42 S3 update 2022-04-22 02:44:10 +01:00
Bodmer d6544c9cb4 Fix #1767 and update ILI9481 init code option 8 2022-04-21 18:32:26 +01:00
Bodmer 7fc8b99b64 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
2022-04-18 19:15:40 +01:00
Bodmer e52a0161e6 Fix #1760, fix #1763, fix #1764 2022-04-10 01:24:10 +01:00
Bodmer 0c935de08d RP2040 18bit PIO SPI update
Update RP2040 18bit PIO SPI code for 18 bit SPI displays (tested on  ILI9488)
Add ILI9342_DRIVER option for default landscape display.
2022-03-22 23:29:30 +00:00
Bodmer c92c82bed5
Fix #1601
A simple typo was the problem!
2022-03-20 20:14:42 +00:00
Bodmer 8480f39a9c Various updates - raise to version 2.4.43
Sprite class uses TFT_eSPI setBitmapColor - fn deleted
Small performance improvement to RP2040 SPI PIO
Typo corrections
Correct (unused) tft_Write_32 for STM32
Update HX8357D rotation code
Enable software reset for ILI9486
Add preliminary RM68120 support
2022-03-17 14:12:10 +00:00
Bodmer 6f4cf86834
Make compatible with existing port define 2022-03-05 00:22:32 +00:00
Frogomeli 4fd8aa8bd4
Allow generic driver to use a custom SPI port
I have a SeeedStudio Wio Terminal.
I'm using this lib in VS Code with PlatformIO but the lib
don't use the `SPICOM` variable when it's a generic device.

Steps to reproduce (using a Wio Terminal):
* Create a project using PlatformIO
* Add the TFT_eSPI lib to the project
* Add in the build flags these lines
```
build_flags = 
	-DUSER_SETUP_LOADED=1
	-DILI9341_DRIVER=1
	-DHASSPI=1
	-DSPICOM=LCD_SPI
	-DTFT_CS=LCD_SS_PIN
	-DTFT_DC=LCD_DC
	-DTFT_RST=LCD_RESET
	-DTFT_BL=LCD_BACKLIGHT
	-DTFT_BACKLIGHT_ON=HIGH
	-DTFT_BACKLINGT_V=2000
```
* Compile and transfer to the device
=> only backlight works
2022-03-04 17:31:42 +01:00
Bodmer b6708b65ae Fix #1667 2022-02-26 16:48:27 +00:00
Bodmer 284893c374 Update RP2040 PIO and smooth graphics fns 2022-02-22 21:12:33 +00:00
Bodmer de3c7490c2
Update TFT_eSPI_STM32.h 2022-02-12 19:11:17 +00:00
Bodmer f576040a32
Update TFT_eSPI_Generic.h 2022-02-12 19:09:57 +00:00
Bodmer 5b1b49f8ea
Update TFT_eSPI_ESP8266.h 2022-02-12 19:08:33 +00:00
Bodmer 51a6e25151
Update TFT_eSPI_ESP32.h 2022-02-12 19:06:55 +00:00
Bodmer 2aa4df5133
Update TFT_eSPI_RP2040.h 2022-02-12 19:05:33 +00:00
Bodmer 3086fad767
Update TFT_eSPI_STM32.h 2022-02-09 14:04:01 +00:00
Bodmer 78685d48b8
Update TFT_eSPI_RP2040.h 2022-02-09 14:02:41 +00:00
Bodmer b7b0660fb9
Update TFT_eSPI_Generic.h 2022-02-09 14:01:17 +00:00
Bodmer 2ee3f36f68
Update TFT_eSPI_ESP8266.h 2022-02-09 14:00:13 +00:00
Bodmer a4a149405f
Update TFT_eSPI_ESP32.h 2022-02-09 13:59:00 +00:00
Bodmer 9cfcf7cbfe
Revert "Support esp32 - c3" 2022-02-08 18:42:27 +00:00
gql19950701 8a1d91652f Support esp32 - c3 2022-02-08 11:31:32 +08:00
Bodmer 29094c9c07
Update TFT_eSPI_Generic.h 2022-02-06 15:54:50 +01:00
Bodmer 0dc68c45b8
Update TFT_eSPI_RP2040.h 2022-02-06 15:53:00 +01:00
Bodmer 4dd4cb678d
Update TFT_eSPI_ESP8266.h 2022-02-06 15:50:03 +01:00
Bodmer 3b50740a29
Update TFT_eSPI_ESP32.h 2022-02-06 15:48:42 +01:00
Bodmer 9ff32bf501 Resolve compile error for STM32F parallel interface 2022-02-04 10:54:47 +00:00
Bodmer b6db90ada4 Add new anit-aliased graphics functions
Examples to follow.
2022-02-03 15:37:44 +00:00
Dr. Stefan Labich 14ff368d5f added USE_FSPI_PORT flag to support more ESP32-S2 boards 2022-02-02 16:52:09 +01:00
Bodmer cb2f5be6c8 Allow use of older (pre 2.0.0) ESP32 board packages 2022-01-29 18:52:00 +00:00
Bodmer 3528ac1457 Update PlatformIO example ini file 2022-01-29 16:43:42 +00:00
Bodmer 47895f1e7b Allow RP2040 to read from SPI TFT 2022-01-27 22:15:04 +00:00
Bodmer 230463317f Update TFT_eSPI_RP2040.h 2022-01-26 22:37:27 +00:00
Bodmer e61fb8c78d Fix #1547 for RP2040 processor with ST7789 TFT
Add Arduino Nano Connect setup example 62
2022-01-26 22:20:34 +00:00
Bodmer 493b1a7fe5 Update RP2040 PIO support
Add example user setup 61
2022-01-05 00:19:19 +00:00
Bodmer 553307aa63
Fix typo 2022-01-03 23:29:31 +00:00
Bodmer c725f201ee
Update TFT_eSPI_RP2040.c 2022-01-02 19:50:04 +00:00
Bodmer 8a2398451b RP2040: add SPI PIO interface option, enhance 8 bit parallel PIO
The RP2040 processors can now drive 8 bit parallel and SPI displays using the PIO hardware.

The PIO offloads the processor by providing:
1. PIO managed setWindow sequence
2. PIO managed block and screen fill
2022-01-02 01:08:22 +00:00
Bodmer eee56b2cec Add RP2040 8 bit parallel support with DMA
The RP2040 can now be used with 8 bit parallel TFT interface displays. DMA is also supported for both SPI and 8 bit parallel displays.
2021-12-18 17:06:16 +00:00