Commit Graph

134 Commits

Author SHA1 Message Date
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
kamorris
5ffd4feac4 prepare for merging. 2020-05-25 17:09:56 -07:00
kamorris
0db6eed9e0 add 4bit image support, tools and examples 2020-05-25 15:29:41 -07:00
Bodmer
fc8d912f52 Update Read_User_Setup.ino 2020-05-05 21:40:24 +01:00
Bodmer
f6748bf906 Add ESP32 SPI DMA capability
DMA test examples now work on ESP32
2020-05-05 21:21:28 +01:00
Bodmer
e937a3496f Diagnostic sketch update + others
Read_User_Setup updated to be compatible with STM32 and new structure format.
Reduction in compiler warnings
Update Sprite destructor
Update version to 2.2.1
2020-04-16 14:33:42 +01:00
Bodmer
89bf0ce6c1 Fix #581 plus
Update 4 bit Sprite code
Update Animate_Dial example to use italic font with minimised character set, add original jpeg graphic.
Raise to 2.1.8
2020-03-25 14:27:38 +00:00
Bodmer
b3db931dc5
Move label 2020-03-20 00:34:26 +00:00
Bodmer
7f7cc24b00 Add new animated dial example
See Sprite "Animated_dial" example.
2020-03-20 00:30:12 +00:00
Bodmer
ef21c44a28 Add more smooth font examples
The extra examples use smooth fonts stored in arrays and thus can run on STM32 processors which do not support SPIFFS.
2020-02-18 01:41:34 +00:00
Bodmer
eac96793a1 Update ReadMe
Delete data folders.
Ass missing headers to Font_Demo_1_Array example.
2020-02-15 00:02:01 +00:00
Bodmer
c689b4211d Add FLASH based anti-aliased fonts
Processors (such as STM32) that are not supported by a SPIFFS library can now use anti-aliased (smooth) fonts stored in FLASH (program) memory.
2020-02-14 23:54:37 +00:00
Just Call Me Koko
b734b81e6b Fix center aligned button text 2020-02-05 22:21:02 -05:00
justcallmekoko
2b1147c6e8 Add setLabelDatum 2020-02-05 14:13:58 -05:00
Bodmer
8209c00316 Add new alphaBlend functions
Added 24 bit colour handling alphaBlend to reduce precision loss in multiple blend stages (e.g. in 2D colour gradients). Added option for alpha dither to reduce colour banding in gradients with 16 bit colours.

Get rid of compile warnings.
2020-01-30 16:01:36 +00:00
Bodmer
0e0fd75277 Raise to version 2.0.0
The library has been cleaned up as it has got a bit untidy due to the large number of small incremental changes.

4bit Sprite examples renaed to be consistent with others.

alphaBlend example moved to generic folder (alphaBlend fn was moved to TFT_eSPI class).
Added sections + explanatory comments to functions prototypes.

Temporary comments added for potential gotchas for noobs when using DMA.

spi_begin/end functions renamed to reflect functionality. Old fns  retained for backwards compatibility with user setup.h files.
2020-01-26 21:17:49 +00:00
kamorris
7fd29d509f Suggested changes from code review
Set font for Transparent_Sprite_Demo_Colormap to correct value (4)
renamed setColorMap to createPalette
renamed cmpPixel to readPixelValue
added setPaletteColor / getPaletteColor
added error check to createPalette
2020-01-25 12:49:29 -08:00
kamorris
e019b6dcf6 added color maps and examples 2020-01-24 22:07:45 -08:00
Bodmer
7f53a571f4 Add STM32 and generic processor support 2020-01-11 23:32:10 +00:00
Bodmer
5bb14ba2d8 Add new callback for smooth font antialiasing
Callback allows anitaliased fonts to be rendered over colour gradients
or images.
"Smooth_font_reading_TFT" example added
"Smooth_font_gradient" example added
Minor changes to avoid signed/unsigned comparison warnings.
2019-11-10 02:23:22 +00:00