Commit Graph

202 Commits

Author SHA1 Message Date
Bodmer 8c83eb84bd Add half duplex SDA read to ESP32 S2
Add half duplex SDA read to ESP32 S2 (tested)
Add new setup example for S2 and ST7735 with SDA pin
Remove commented out code
Raise version
2023-01-31 18:57:30 +00:00
Bodmer c6d600b4a1 Fix #2297
The SSD1963 requires 18 bit colour in 3 bytes when an 8 bit parallel interface is used.

Added new PIO parallel code
2023-01-16 12:37:32 +00:00
Bodmer 890f6ff2b9 Update drawArc, add new example 2023-01-14 22:40:17 +00:00
Bodmer b5edd54f6e Add more examples
Transparent PNG
Smooth graphics
2023-01-13 15:17:02 +00:00
Bodmer d37f202b94
Arc test (#2316)
* Add smooth arc drawing function

Update ESP8266 architecture reference
Add pushMaskedImage() to render 16bpp images with a 1bpp mask (used for transparent PNG images plus with sprites)

New functions added using drawArc:
drawSmoothArc
drawSmoothCircle
drawSmoothRoundRect
New sqrt_fraction() added to improve smooth graphics performance on processors without a FPU (e.g. RP2040)

Faster alphaBlend() function added which retains 6bpp for green

Rename swap_coord() to transpose()

* Update TFT_eSPI.cpp

* Add arc examples
2023-01-13 01:31:57 +00:00
Bodmer d3a715da1e Fix #2103 and update for latest ESP8266 board package
Fix H and V gradient use in sprite
New ESP8266 board package uses RDUINO_ARCH_ESP8266
old package defined ESP8266
2022-11-03 22:24:00 +00:00
Bodmer 67e41c75f2 Allow ESP32 DC pin to be >31 2022-10-19 23:05:25 +01:00
Bodmer f106fb03ac Fix #2080
Forgot to copy over updated file!
2022-10-13 23:21:03 +01:00
Bodmer 49f44e41aa Fix #1960
TFT pixel reads for smooth graphics functions now supported.
2022-10-12 23:50:28 +01:00
Bodmer d1bb18bdde Various tweaks and bug fixes 2022-10-10 19:02:05 +01:00
Bodmer f2d8d2f26d Add new examples and ST7789 320x170 support
GUI examples require an extension library:

https://github.com/Bodmer/TFT_eWidget
2022-07-22 18:09:09 +01:00
Bodmer d94408bdaa Fix #1758
As proposed in #1914
2022-07-19 12:29:41 +01:00
Bodmer ba819765af Avoid warnings if fonts disabled in setup 2022-05-19 21:47:01 +01:00
Bodmer 7bf48bb179 Add 16 bit parallel for RP2040 processor
Correct legacy comments
Add ESP32 S3 parallel setup 70d
Add setups 105-107 for RP2040 with 16 bit display
Add file conversion notes to PNG array example
2022-05-16 19:58:05 +01:00
Bodmer 24b0e88852
ESP32 C3 and S3 support tested
ESP32 C3 tested with SPI (8 bit parallel probably works - TBC)
ESP32 S3 tested with SPI and 8 bit parallel
2022-04-30 13:31:42 +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 338d56ca42 S3 update 2022-04-22 02:44:10 +01:00
Bodmer a0fa2c31bd Fill smooth font background if padding is set. 2022-04-18 22:57:47 +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 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 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 1be1b4b05b
Always load button class 2022-03-13 00:12:27 +00:00
Bodmer e83383c69a
Fix #1680 2022-03-04 00:59:38 +00:00
Bodmer 284893c374 Update RP2040 PIO and smooth graphics fns 2022-02-22 21:12:33 +00:00
Bodmer 4fae4fa6cb
Fix #1656 2022-02-21 20:10:05 +00:00
Bodmer 92d51413aa Fix #1653 2022-02-21 14:32:02 +00:00
Bodmer 032e54dd10 Allow drawFloat with decimal places = 0
See #1639
2022-02-16 20:16:30 +00:00
Bodmer 86101770ac Not all processors support buffered write() 2022-02-16 19:52:52 +00:00
Bodmer d819c2e89e Add smooth graphics examples for new functions 2022-02-04 01:08:04 +00:00
Bodmer b6db90ada4 Add new anit-aliased graphics functions
Examples to follow.
2022-02-03 15:37:44 +00:00
Bodmer 47895f1e7b Allow RP2040 to read from SPI TFT 2022-01-27 22:15:04 +00:00
Bodmer 0d12646909 Fix RP2040 PIO pin override 2022-01-26 22:47:18 +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 420165904c Fix #1578 2022-01-26 21:30:52 +00:00
Bodmer 0daee5d502 Add filled rectangles with gradient 2022-01-08 20:01:42 +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 e66d0f4069
Fix #1499 2021-12-19 10:57:36 +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
Bodmer dd8fc20cb4 Fix 1bpp pushSprite with transparent colour 2021-12-16 01:42:23 +00:00
Bodmer 5959550dd7 Allow RP2040 SPI 0 or SPI 1 ports to be used
Auto set of CGRAM offset for 135 x 240 ST7789 display
2021-12-05 22:34:37 +00:00
Bodmer 9bf9c0940f Update for GC9A01 display
Correct sprite rendering
GC9A01 expects exact number of pixels to fill setWindow area.
2021-11-28 13:57:15 +00:00
Bodmer 0ad6de9161 Fix RP2040 with RPi type display
RPi display requires 16 bit commands and slower DC and CS strobe timings.
2021-11-05 00:09:42 +00:00
Bodmer 5a6ef1d05d Fix #1188
Support debugged for ILI9488 TFT with RP2040 processors.
Minor improvements to ESP32 code.
2021-05-15 19:45:33 +01:00
Bodmer 6b40880375 Merge branch 'master' of https://github.com/Bodmer/TFT_eSPI 2021-05-11 00:22:46 +01:00
Bodmer 9fc8fa6956 Add 2nd init sequence for ILI9341, see #1172
Use:
  #define ILI9341_2_DRIVER
in the setup file to invoke new initicode, instead of:
  #define ILI9341_DRIVER
2021-05-11 00:22:38 +01:00
arduino12 25d84a977a Add Setup202_SSD1351_128 and remove tft_Write_16C/D macros 2021-04-27 10:16:12 +03:00
arduino12 e1161c17f4 Add support for SSD1351! (128*128 OLED)
TODO:
Implement read functions as well..
2021-04-26 20:40:18 +03:00
Bodmer 233b98aa05 Implement UTF8 switch #1108 2021-04-23 16:51:18 +01:00
Bodmer fd99db4354 Fix #1094
Allow ESP8266 and RP2040 to use FLASH for pushImage () and 4bpp
2021-04-06 19:38:19 +01:00
Bodmer fce86c0f2e Improve RPi Pico (RP2040) rendering performance 2021-04-05 16:39:33 +01:00