Commit Graph

220 Commits

Author SHA1 Message Date
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
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
ec23732c11 Update ReadMe and raise version to 2.4.73 2022-07-22 18:17:09 +01:00
Bodmer
d94408bdaa Fix #1758
As proposed in #1914
2022-07-19 12:29:41 +01:00
Bodmer
781b0bc67c Fix #1877 2022-06-16 23:31:07 +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
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
908b46165b
Update library.properties 2022-04-22 21:30:53 +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
6cd087ca7c Raise version to 2.4.44 2022-03-22 23:30:48 +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
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
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
5f35a28db4
Update library.properties 2022-02-12 19:14:06 +00:00
Bodmer
d5ba4a1886
Update library.properties 2022-02-09 14:06:07 +00:00
Bodmer
6ca074446f
Update library.properties 2022-02-06 16:09:41 +01: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
cb2f5be6c8 Allow use of older (pre 2.0.0) ESP32 board packages 2022-01-29 18:52:00 +00:00
Bodmer
47895f1e7b Allow RP2040 to read from SPI TFT 2022-01-27 22:15:04 +00:00
Bodmer
3cc1e2e20a Raise version 2022-01-26 23:08:21 +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
73ff86b85b Support external font classes in button class
Original Adafruit button rendering code can be used with an external font class if "textFont" is set to 255.

See #1536
2022-01-08 14:50:44 +00:00
Bodmer
bb2424f168 Raise version 2022-01-08 02:03:49 +00:00
Bodmer
493b1a7fe5 Update RP2040 PIO support
Add example user setup 61
2022-01-05 00:19:19 +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
681eb9dfec Raise version for release 2022-01-01 22:49:34 +00:00
Bodmer
7060d0cd6f
Update library.properties 2021-12-20 11:26:20 +00:00
Bodmer
40cd5bfe7b Bump version 2021-12-19 11:08:23 +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
61608a7ca2 Raise version 2021-12-12 01:34:11 +00:00
Bodmer
52f3186da9 #1314 Re-instate $ symbol with options to replace with £
In setup add:
#define FONT_4_GBP
To replace $ with £ in font 4
2021-12-06 00:41: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
12f9ce8691 Update Read_User_Setup example for RP2040 2021-12-04 16:36:31 +00:00
Bodmer
84a6945716 Updates for ESP32C3 2021-12-01 15:55:15 +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
07e77ad051 Fix generic driver
tft_Write_16N was missing.
2021-11-27 23:26:47 +00:00
Bodmer
a2822e6d99 Fix VSPI port for ESP32
ESP32 S2 edits caused a problem
2021-11-18 22:03:49 +00:00
Bodmer
9a084839bd Add ESP32 S2 support
Tested with ESP32 board package 2.0.1

Additional boards manager URL may need to be updated to load the latest ESP32 board package!
2021-11-18 16:44:32 +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
9d33b3eac2 RP2040 DMA image copy bug fix
memcpy should be memmove since areas overlap.
2021-11-04 21:44:15 +00:00