Commit Graph
181 Commits
Author SHA1 Message Date
Bodmer 47ad8e58d8 Add warning for memory requirements 2023-12-07 21:12:06 +00:00
Bodmer d506a3c49d Update for spelling etc. in comments! 2023-12-07 20:35:59 +00:00
Bodmer 21655de119 Update ESP32_SDcard_jpeg.ino 2023-10-13 14:51:02 +01:00
Bodmer 18e37ca026 Add new example for Julia set 2023-04-26 01:59:08 +01:00
Bodmer 34850973a0 Various updates
RM68120 support for RP2040 added
Various other updates and typo corrections
2023-02-20 19:03:44 +00:00
Bodmer 58177bf680 Merge branch 'master' of https://github.com/Bodmer/TFT_eSPI 2023-02-19 22:43:24 +00:00
Bodmer 615c6da443 Fix #2425 correct typo 2423 2023-02-19 22:43:20 +00:00
Bodmer f7afed8df1 Update png_support.ino 2023-02-17 22:42:06 +00:00
Bodmer b4427d6895 Fix typos in PNG examples 2023-02-17 16:00:17 +00:00
Bodmer 890f6ff2b9 Update drawArc, add new example 2023-01-14 22:40:17 +00:00
Bodmer e6024025c0 Correct sketch name 2023-01-13 21:23:21 +00:00
Bodmer b5edd54f6e Add more examples
Transparent PNG
Smooth graphics
2023-01-13 15:17:02 +00:00
Bodmer 79345ca72d Delete spurious files 2023-01-13 01:51:00 +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 91b8e248d3 Remove example
The use of a setup file in sketches only works in certain circumstances.
2023-01-03 22:20:48 +00:00
Bodmer d1bb18bdde Various tweaks and bug fixes 2022-10-10 19:02:05 +01:00
Bodmer 5592f603dd tft_setup.h is included by library if it exists in sketch 2022-09-10 15:29:28 +01:00
Bodmer c35e73a9cc Another typo 2022-09-10 15:27:54 +01:00
Bodmer 7b2cb1dfbd Another typo 2022-09-10 15:26:40 +01:00
Bodmer a0dd2db654 Fix typo 2022-09-10 14:06:18 +01:00
Bodmer 55477b58b2 Update for setup within sketch option
The TFT configuration (user setup) can now be included inside an Arduino IDE sketch providing the instructions in the example Generic->Sketch_with_tft_setup are followed. See ReadMe tab in that sketch for the instructions.
2022-09-10 13:48:56 +01:00
Bodmer 333f0f845c Correct Widget examples 2022-08-14 13:35:23 +01:00
Bodmer 90fe790ff9 Fix meters Widget example 2022-08-11 15:43:11 +01:00
Bodmer cc9787deaf Update for Pico W, update sprite smooth font rendering
Update example for Pico W

If a background colour is not specified for smooth font rendering in a sprite then read the sprite background pixel colour.
2022-07-22 20:16:56 +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 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 fe5609e367 Fix #1802 2022-04-30 12:48:41 +01:00
Bodmer 22901f5d6e Fix #1802
setTextColor has a new parameter for smooth fonts to force background fill.
2022-04-28 10:26:11 +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 896bbf62de Update Flash_PNG.ino 2022-03-16 16:52:24 +00:00
Bodmer 97a9455e63 Add PNG image render examples 2022-02-19 15:10:49 +00:00
Bodmer d819c2e89e Add smooth graphics examples for new functions 2022-02-04 01:08:04 +00:00
Bodmer a2140a4d04 Add Gradient_Fill example 2022-01-27 22:24: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 5e7394f485 Update Bouncy_Circles.ino 2022-01-01 00:44:57 +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 174414f726 Update processing sketch bool -> boolean 2021-12-16 01:47:11 +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 12f9ce8691 Update Read_User_Setup example for RP2040 2021-12-04 16:36:31 +00:00
Bodmer 11b006e1d9 Correct various inconsequential typos 2021-11-05 23:55:27 +00:00
Bodmer 637f7f1fe3 Add DMA Bouncy_Circles sketch 2021-04-24 12:09:47 +01:00
Bodmer 715b4de525 Fix #1148 (RP2040 pgmspace.h warnings) 2021-04-21 22:48:21 +01:00
Bodmer f33674c1a2 Fix #1144 (RP2040 SPI pin settings)
Library now uses setup defined pins for SPI instead of defaults set by board package.
2021-04-19 00:30:28 +01:00
Bodmer fce86c0f2e Improve RPi Pico (RP2040) rendering performance 2021-04-05 16:39:33 +01:00
Bodmer 91c34afc49 Replace deprecated boolean type
Note that Processing sketches (pde type) do not accept bool, so boolean is correct.
2021-03-31 13:52:42 +01:00
Bodmer 107b2dd4ed Update Touch_calibrate.ino 2021-03-15 13:20:25 +00:00
Bodmer 85539606e1 Correct typos 2021-03-06 20:16:38 +00:00
Bodmer a7a19be467 Correct typos 2021-03-06 20:05:34 +00:00
Bodmer 9fec44b6ea Implement #896 plus minor changes
When rendering a smooth font in a sprite the anti-aliasing will pick up the sprite background colour if the text background colour is not set.
2020-12-31 17:58:28 +00:00
Bodmer 42e6fc87ff Feature update
Add ILI9225 support
Add viewport feature to Sprites
Rationalise common TFT_eSPI and Sprite functions and variables to use inherited functions width(), height(), rotation(), write(), pivot, cursor, swapBytes.
2020-12-01 20:06:32 +00:00