Commit Graph

193 Commits

Author SHA1 Message Date
melektron 73d8b794ed Fix drawWedgeLine for parallel interface
Added (and restructured) missing code to reinitiate a previous transaction in the readPixel method when operating in 8 bit parallel mode.
This mistake caused the CS line to be set to high after the first pixel read without setting it back to low to continue drawing the wedge line
(or wide line, spot, ...) when operating in 8 bit parallel mode.
2022-08-15 16:03:51 +02:00
Bodmer f2d8d2f26d Add new examples and ST7789 320x170 support
GUI examples require an extension library:

https://github.com/Bodmer/TFT_eWidget
2022-07-22 18:09:09 +01:00
Bodmer d94408bdaa Fix #1758
As proposed in #1914
2022-07-19 12:29:41 +01:00
Bodmer ba819765af Avoid warnings if fonts disabled in setup 2022-05-19 21:47:01 +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 24b0e88852
ESP32 C3 and S3 support tested
ESP32 C3 tested with SPI (8 bit parallel probably works - TBC)
ESP32 S3 tested with SPI and 8 bit parallel
2022-04-30 13:31:42 +01:00
Bodmer cfb4689c85 Patch for ESP32 C3 - may or may not work!
I do NOT have and ESP32 C3 to test with!
2022-04-24 04:00:36 +01:00
Bodmer 338d56ca42 S3 update 2022-04-22 02:44:10 +01:00
Bodmer a0fa2c31bd Fill smooth font background if padding is set. 2022-04-18 22:57:47 +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 0c935de08d RP2040 18bit PIO SPI update
Update RP2040 18bit PIO SPI code for 18 bit SPI displays (tested on  ILI9488)
Add ILI9342_DRIVER option for default landscape display.
2022-03-22 23:29:30 +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 1be1b4b05b
Always load button class 2022-03-13 00:12:27 +00:00
Bodmer e83383c69a
Fix #1680 2022-03-04 00:59:38 +00:00
Bodmer 284893c374 Update RP2040 PIO and smooth graphics fns 2022-02-22 21:12:33 +00:00
Bodmer 4fae4fa6cb
Fix #1656 2022-02-21 20:10:05 +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 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 47895f1e7b Allow RP2040 to read from SPI TFT 2022-01-27 22:15:04 +00:00
Bodmer 0d12646909 Fix RP2040 PIO pin override 2022-01-26 22:47:18 +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 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 e66d0f4069
Fix #1499 2021-12-19 10:57:36 +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 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 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 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 5a6ef1d05d Fix #1188
Support debugged for ILI9488 TFT with RP2040 processors.
Minor improvements to ESP32 code.
2021-05-15 19:45:33 +01:00
Bodmer 6b40880375 Merge branch 'master' of https://github.com/Bodmer/TFT_eSPI 2021-05-11 00:22:46 +01:00
Bodmer 9fc8fa6956 Add 2nd init sequence for ILI9341, see #1172
Use:
  #define ILI9341_2_DRIVER
in the setup file to invoke new initicode, instead of:
  #define ILI9341_DRIVER
2021-05-11 00:22:38 +01:00
arduino12 25d84a977a Add Setup202_SSD1351_128 and remove tft_Write_16C/D macros 2021-04-27 10:16:12 +03: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 fd99db4354 Fix #1094
Allow ESP8266 and RP2040 to use FLASH for pushImage () and 4bpp
2021-04-06 19:38:19 +01:00
Bodmer fce86c0f2e Improve RPi Pico (RP2040) rendering performance 2021-04-05 16:39:33 +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 66bcbb2669 Fix #1013 2021-02-19 22:49:19 +00:00
Bodmer a40e053662 Fix #1012 2021-02-19 22:04:24 +00:00
Bodmer 04b8ae9096
Correct missing ; 2020-12-04 20:15:45 +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 3b39bf10c3 Fix #846 2020-12-01 02:07:14 +00:00
Bodmer d6be490735 Add ILI9255 driver 2020-11-25 23:18:54 +00:00
Bodmer c8c6317241 Add off-screen support to readRect()
See #803
2020-10-25 15:56:13 +00:00
Bodmer 1c1ec8cfa3 #774 add GC9A01 driver
Driver added
Setup46 added
2020-10-25 12:52:37 +00:00