Commit Graph

482 Commits

Author SHA1 Message Date
Bodmer 4941ae55ed Update Setup31_ST7796_Parallel_STM32.h 2020-02-09 06:26:12 +00:00
Bodmer 73ff949364 Update Setup32_ILI9341_STM32F103.h 2020-02-09 06:23:21 +00:00
Bodmer 938d2ee5d2
Correct comment 2020-02-09 06:18:47 +00:00
Bodmer 443be934a7 Add PSRAM switch
Typical use to disable use of PSRAM for the sprite storage:
sprite.setAttribute(PSRAM_ENABLE, false); // true to enable
Minor update for recent button class update
2020-02-06 20:34:36 +00:00
Bodmer 87aca91218 Merge branch 'master' of https://github.com/Bodmer/TFT_eSPI 2020-02-06 13:38:13 +00:00
Bodmer 15c137633a Raise version add comments for button update 2020-02-06 13:38:03 +00:00
Bodmer 135604b59c
Merge pull request #541 from justcallmekoko/master
Fixes button text alignment and added keyword
2020-02-06 13:20:53 +00:00
Bodmer 7841015043 Revert "Revert "Merge pull request #540 from justcallmekoko/master""
This reverts commit 38a057762f.
2020-02-06 13:20:17 +00:00
Just Call Me Koko ec6739c013 Add setLabelDatum to keywords 2020-02-05 22:24:33 -05:00
Just Call Me Koko b734b81e6b Fix center aligned button text 2020-02-05 22:21:02 -05:00
Bodmer 38a057762f Revert "Merge pull request #540 from justcallmekoko/master"
This reverts commit 6dec790e8d, reversing
changes made to 8146ac3015.
2020-02-06 01:43:42 +00:00
Bodmer 6dec790e8d
Merge pull request #540 from justcallmekoko/master
Add setLabelDatum
2020-02-05 20:05:31 +00:00
justcallmekoko 2b1147c6e8 Add setLabelDatum 2020-02-05 14:13:58 -05:00
Bodmer 8146ac3015
Move include for User_Setup_Select.h (#537)
Requested change in #537
2020-02-02 17:32:46 +00:00
Bodmer c8530d7ae4 4 bpp Sprite bug fix
OR has precedence over AND so brackets needed.
Remove unused varaible.
2020-02-01 01:43:16 +00: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
Bodmer b954372859
Merge pull request #528 from kamorris/add_color_maps
Add Sprite 4 bit color depth option with a defined palette of 16 colors. Add new Sprite examples.
2020-01-25 23:01:42 +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 04eacf56c9
Update library.json 2020-01-19 23:55:20 +00:00
Bodmer d129512a2c
Update library.json 2020-01-19 23:50:15 +00:00
Bodmer b6a8f6a8a4
Update library.json 2020-01-14 01:45:02 +00:00
Bodmer 811ee7b8ed
Remove STM32 branch news item 2020-01-12 23:53:34 +00:00
Bodmer 561b488b3c
Remove test setups 2020-01-12 00:10:30 +00:00
Bodmer 7f53a571f4 Add STM32 and generic processor support 2020-01-11 23:32:10 +00:00
Bodmer 8342507233 Remove scrap drivers, fix Sprite destructor 2020-01-11 01:27:51 +00:00
Bodmer 3e82aafd2d
Typo 2020-01-11 01:14:32 +00:00
Bodmer 1476da56ba Restructured code, added ST7796
RPi MHS-4.0 inch Display-B type display now supported.
2020-01-11 00:58:38 +00:00
Bodmer b6574ff373
Typo 2020-01-07 17:09:46 +00:00
Bodmer cb59388353
Amend 2020-01-06 22:28:30 +00:00
Bodmer 0d7d8e06ce
Typo 2020-01-06 22:27:01 +00:00
Bodmer 39f859f6e2
Add further tip 2020-01-06 22:25:46 +00:00
Bodmer e94c24e303
Edit tips format 2020-01-05 12:28:21 +00:00
Bodmer fbf4592fc1
Tips typo 2020-01-05 12:26:16 +00:00
Bodmer c54131d9f0
Add tips 2020-01-05 12:23:45 +00:00
Bodmer 6459ddbeea
#503 additional update 2020-01-02 12:38:50 +00:00
Bodmer d02fe55c46
Fix #503
The s60sc Adafruit_Touch library fork for the ESP32 parallel mode uses the TFT_WR pin as an analogue input to read the screen resistance.  The TFT_eSPI library kept TFT_CS low permanently for performance reasons, but when used with the touch library a low analogue value on the TFT_WR pin will write spurious data to the display. 

This change toggle TFT_CS so it is only low during TFT parallel bus writes. The performance reduction is small.
2020-01-02 11:53:50 +00:00
Bodmer 308b46e125
edit 2020-01-02 01:03:02 +00:00
Bodmer bfd6287f19
edit 2020-01-02 01:02:34 +00:00
Bodmer c7af5dd304
Update news 2020-01-02 01:01:05 +00:00
Bodmer 3115285b05
Issue #505
ILI9488 not compliant to datasheet with extra clock pulse?
2020-01-02 00:50:49 +00:00
Bodmer 962cec85aa
Merge pull request #488 from lewisxhe/master
Add TTGO T-Wristband config
2019-12-06 10:34:01 +00:00
lewis 6f972dc980 Add T-Wristband headfile to User_Setup_Select.h 2019-12-05 10:00:04 +08:00
lewis de787e669e Add TTGO T-Wristband config 2019-12-05 09:15:10 +08:00
Bodmer 10078c8325
Fix #473
Update to accommodate smooth font rendering, which need a background colour specified.
2019-11-27 02:36:17 +00:00
Bodmer 34117e4830
Merge pull request #475 from lovyan03/master
Add: Destructor of TFT_eSprite.
2019-11-26 19:10:27 +00:00
lovyan03 7b71a3d8b5 Add: TFT_eSprite destructor. 2019-11-21 15:19:33 +09:00
Bodmer c6faa24494 Update notes for #268 2019-11-11 22:17:14 +00:00
Bodmer 27cde1520d Add #define to set font 2 character 0x60
By default the grave accent will be drawn as a degree symbol, a #define
has been added so it can be swapped back to the grave accent.
2019-11-11 21:53:37 +00:00