Commit Graph

153 Commits

Author SHA1 Message Date
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
Bodmer
cd98515f1f Merge branch 'master' of https://github.com/Bodmer/TFT_eSPI 2020-11-14 01:38:14 +00:00
Bodmer
de8619027d Add ESP8266 LittleFS examples
The ESP8266 has the LittleFS Flash filing system which is significantly faster than SPIFFS. New Smooth Font examples have been added that use LittleFS.
2020-11-14 01:38:09 +00:00
Bodmer
54f6e730b5
Stop ESP32 warning 2020-11-12 17:57:41 +00:00
Bodmer
2c01c41c02
Disable DMA as default 2020-11-09 12:15:26 +00:00
Bodmer
aa4a32bc6b
Update Animated_Eyes_1.ino 2020-11-09 12:13:11 +00:00
Bodmer
24b0eca084 Add 2 animated eyes examples
Animated_Eyes_1 is an example for a single display
Animated_Eyes_2 is an example for two displays
2020-11-08 22:53:23 +00:00
Bodmer
975347d5de Update Floyd_Steinberg.ino 2020-11-02 23:22:04 +00:00
Bodmer
9cfc86839f Update EPD_Support.h 2020-11-02 23:18:04 +00:00
Bodmer
c9490f91b5 Merge branch 'master' of https://github.com/Bodmer/TFT_eSPI 2020-11-02 23:16:13 +00:00
Bodmer
7eb365fcf5
Update EPD_Support.h 2020-11-02 23:15:10 +00:00
Bodmer
e49e546d2c Update ePaper example
Corrections as in #729 plus others of same ilk.
2020-11-02 23:12:33 +00:00
Bodmer
5f272751f7
Update EPD_Support.h 2020-11-02 22:42:17 +00:00
Bodmer
aaf96fa870
Update TFT_Clock_Digital.ino
Fix #795
2020-10-21 16:16:06 +01:00
Bodmer
0d31c9f1a5 Add Orrery example
Uses sprites for flicker free animation
2020-10-20 00:53:08 +01:00
Bodmer
126aa7dff5
Update Viewport_Demo.ino
Viewport does not need to be constrained to be within TFT area.
2020-10-14 09:09:40 +01:00
Bodmer
b1f8cae069 Finalise viewport changes 2020-10-13 13:35:03 +01:00
Bodmer
505ca81a70 Complete viewport update 2020-10-11 22:36:02 +01:00
Bodmer
c0f14b2f99 Move viewport examples
Moved to generic
2020-10-06 12:51:22 +01:00
Bodmer
27cf479e55
Update Viewport_Demo.ino 2020-10-06 11:58:33 +01:00
Bodmer
26ffe75a0e
Update Viewport_Demo.ino 2020-10-06 11:55:51 +01:00
Bodmer
dfba4633ad
Update Viewport_Demo.ino 2020-10-06 11:54:53 +01:00
Bodmer
13d217dc89 Add viewport feature
2 new example sketches added for viewport demonstration
2020-10-06 00:51:41 +01:00
Bodmer
d7fdcc0991 Fix #740 and #704
#740: To avoid ambiguity the pushSprite for writing a sprite to another sprite has been renamed pushToSprite

#704: Change to 18 bit colurs for SSD1963 with SPI interface

Remove outdated TFT_SPIFFS_Jpeg example
2020-09-07 22:04:42 +01:00
Bodmer
a6d50ea5ef #682 Add created() function for sprites
New function added:
  bool created(void);
to check if sprite has been rotated. Example:

if ( !spr.created() ) Serial.println("Sprite has not been created");
2020-07-07 00:52:55 +01:00
Bodmer
61f1c5f98e
Merge pull request #641 from kamorris/kamorris-patch-1
Add 4bit images to sprites, with an example and a tool to produce the images from bmp files.
2020-06-19 10:05:01 +01:00
kamorris
a7be0c0ebe delete extraneous ino file 2020-06-18 20:29:10 -07:00
Bodmer
fb86ae4d1b Update Read_User_Setup add #648
Read_User_Setup now includes backlight settings
2020-06-06 14:55:02 +01:00
Bodmer
b5826586fc Allow 4bpp Sprites to be rotated
4bpp Sprites can now be pushed to the TFT with a rotation
2020-06-05 16:05:04 +01:00