Commit Graph

172 Commits

Author SHA1 Message Date
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
Bodmer e23d8e083b Correct comments 2021-11-03 23:45:16 +00:00
Bodmer 58f457ba97 Raise issue 2021-05-24 12:04:03 +01:00
Bodmer 8efb988cda Over-ride SPI pin defaults for RP2040
See #1188
2021-05-16 13:11:11 +01:00
Bodmer 5a6ef1d05d Fix #1188
Support debugged for ILI9488 TFT with RP2040 processors.
Minor improvements to ESP32 code.
2021-05-15 19:45:33 +01:00
arduino12 e1161c17f4 Add support for SSD1351! (128*128 OLED)
TODO:
Implement read functions as well..
2021-04-26 20:40:18 +03:00
Bodmer 233b98aa05 Implement UTF8 switch #1108 2021-04-23 16:51:18 +01:00
Bodmer 83fd35a6d5 Raise version 2021-04-21 22:49:31 +01:00
Bodmer fd99db4354 Fix #1094
Allow ESP8266 and RP2040 to use FLASH for pushImage () and 4bpp
2021-04-06 19:38:19 +01:00
Bodmer f6e90349d8 Add support for Raspberry Pi Pico
Setup file "Setup60_RP2040_ILI9341.h" used for testing with ILI9341 SPI display.
2021-03-30 01:53:27 +01:00
Bodmer cd025dbc79 Fix #1046
ESP32 DMA did not work if MISO pin is not defined in setup file (affected TTGO T-Display setup 21)
2021-03-13 15:03:21 +00:00
Bodmer fef40d9c8b Raise version 2021-02-23 22:48:50 +00:00
Bodmer 9e08131add
Update library.properties 2021-01-22 01:41:41 +00:00
Bodmer 64239999e4 Fix #893 2020-12-31 19:44:33 +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 8e75cfa83f Fix #893 2020-12-31 00:15:26 +00:00
Bodmer 1c4860dec3 Fix RPI display issue #892
Prevent 18 bit display serial driver being invoked for RPi display
2020-12-29 13:47:28 +00:00
Bodmer acdfeb0b36 Fix #873
Minor performance boost to ESP32 block write
2020-12-23 01:10:11 +00:00
Bodmer 2162936b40 Enable ESP32 DMA controlled TFT_CS
ESP32 DMA will hold TFT_CS low automatically.
STM32 will not do this and requires bracketing DMA transfers with startWrite and endWrite as in examples.
2020-12-07 17:43:40 +00:00
Bodmer ad0130309c Add pushToSprite with transparent colour
New function:
pushToSprite(TFT_eSprite *spr, int32_t x, int32_t y, uint16_t transp)
// Note: The following sprite to sprite colour depths are currently supported:
//    Source    Destination
//    16bpp  -> 16bpp
//    16bpp  ->  8bpp
//     8bpp  ->  8bpp
//     1bpp  ->  1bpp
2020-12-02 13:39:19 +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 27216f89cc Raise version 2020-12-01 13:25:08 +00:00
Bodmer d6e573c230 Fix SPI ILI9481
ILI9481 with 8 bit parallel worked OK but SPI needs an 18 bit colour interface.
2020-11-25 22:54:30 +00:00
Bodmer f96c42253c Add support for choosing colour order on ST7735
See #639
2020-11-02 17:59:04 +00:00
Bodmer c8c6317241 Add off-screen support to readRect()
See #803
2020-10-25 15:56:13 +00: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 13d217dc89 Add viewport feature
2 new example sketches added for viewport demonstration
2020-10-06 00:51:41 +01:00
Bodmer 22ca8193c5 Improve RLE font rendering
See #766
2020-10-02 22:00:03 +01:00
Bodmer ef93dbe687 Make ST7789 drivers consistent
Simplified driver ST7789_2_DRIVER not supports 135 x 240 display.
This will not fix #763 since user specifies alternative ST7789_DRIVER which already supports 135x240 displays.
2020-10-02 20:47:00 +01:00
Bodmer 49cef1f35d Support for SSD1963 and ST7706 SPI read
The SSD1963 support has been tested with a 480x800 pixel display from Buy Display.
Support for reading an ST7796 SPI display has been added.
pushToSprite added to keywords list.
2020-10-02 01:07:15 +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 731228d13a Fix deleteSprite
Fixes #736 and also delete color map even if the sprite has not been created.
2020-08-28 21:18:26 +01:00
Bodmer 1c66d306d5 Add SSD1963 for #704
Remove setWindow optimisation clash with TFT_eFEX
2020-08-15 00:19:03 +01:00
Bodmer a8cd5c5d91 Correct TFT_eFEX issue 24 2020-08-06 12:51:10 +01:00
Bodmer dc114db01b Srite class updates + others
Add 2 new pushSprite functions:
1. Sprite to sprite
2. windowed are of sprite to screen
Examples to follow
Bug fixes to sprite class
2020-08-05 20:06:44 +01:00
Bodmer 90cabab91a Update to aid use of ESP32 with multiple displays #687
Fix issue when using ESP32 & using multiple TFT displays & not defining TFT_CS.

Note: Future support for multiple displays in all possible hardware combinations may not be practical.
2020-07-09 14:20:34 +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 c7383df1a3
Raise version 2020-06-19 10:06:28 +01:00
Bodmer 24750c605d Add option to use STM32 SPI port 2
See new #define options in "Setup29_ILI9341_STM32.h"
2020-06-13 21:05:47 +01:00
Bodmer 284f52b009 Allow partially of screen RLE fonts 2020-06-11 22:34:22 +01: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
Bodmer cd10a92f11 Allow ESP32 SPI pins to be undefined
See #618
2020-05-13 18:28:44 +01:00
Bodmer 1314a34c3d Fix #625
pushRect() reinstated to pair with readRect() so swapBytes does not need to be changed from true to false before calling.
2020-05-13 16:33:12 +01:00
Bodmer 7e4566f3f2 Raise version to 2.2.6 2020-05-10 00:19:12 +01:00
Bodmer cc4f35f8c1 ESP32 DMA update
dmaBusy() checks and is no longer blocking
pushImageDMA() faster if setAddrWindow is not built into transaction list.
2020-05-08 21:25:38 +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 fb2e669d37 1,4,8 bpp Sprites requite different default swapBytes settings 2020-05-01 22:38:14 +01:00