Commit Graph

113 Commits

Author SHA1 Message Date
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 c92c82bed5
Fix #1601
A simple typo was the problem!
2022-03-20 20:14:42 +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 6f4cf86834
Make compatible with existing port define 2022-03-05 00:22:32 +00:00
Frogomeli 4fd8aa8bd4
Allow generic driver to use a custom SPI port
I have a SeeedStudio Wio Terminal.
I'm using this lib in VS Code with PlatformIO but the lib
don't use the `SPICOM` variable when it's a generic device.

Steps to reproduce (using a Wio Terminal):
* Create a project using PlatformIO
* Add the TFT_eSPI lib to the project
* Add in the build flags these lines
```
build_flags = 
	-DUSER_SETUP_LOADED=1
	-DILI9341_DRIVER=1
	-DHASSPI=1
	-DSPICOM=LCD_SPI
	-DTFT_CS=LCD_SS_PIN
	-DTFT_DC=LCD_DC
	-DTFT_RST=LCD_RESET
	-DTFT_BL=LCD_BACKLIGHT
	-DTFT_BACKLIGHT_ON=HIGH
	-DTFT_BACKLINGT_V=2000
```
* Compile and transfer to the device
=> only backlight works
2022-03-04 17:31:42 +01:00
Bodmer b6708b65ae Fix #1667 2022-02-26 16:48:27 +00:00
Bodmer 284893c374 Update RP2040 PIO and smooth graphics fns 2022-02-22 21:12:33 +00:00
Bodmer de3c7490c2
Update TFT_eSPI_STM32.h 2022-02-12 19:11:17 +00:00
Bodmer f576040a32
Update TFT_eSPI_Generic.h 2022-02-12 19:09:57 +00:00
Bodmer 5b1b49f8ea
Update TFT_eSPI_ESP8266.h 2022-02-12 19:08:33 +00:00
Bodmer 51a6e25151
Update TFT_eSPI_ESP32.h 2022-02-12 19:06:55 +00:00
Bodmer 2aa4df5133
Update TFT_eSPI_RP2040.h 2022-02-12 19:05:33 +00:00
Bodmer 3086fad767
Update TFT_eSPI_STM32.h 2022-02-09 14:04:01 +00:00
Bodmer 78685d48b8
Update TFT_eSPI_RP2040.h 2022-02-09 14:02:41 +00:00
Bodmer b7b0660fb9
Update TFT_eSPI_Generic.h 2022-02-09 14:01:17 +00:00
Bodmer 2ee3f36f68
Update TFT_eSPI_ESP8266.h 2022-02-09 14:00:13 +00:00
Bodmer a4a149405f
Update TFT_eSPI_ESP32.h 2022-02-09 13:59:00 +00:00
Bodmer 9cfcf7cbfe
Revert "Support esp32 - c3" 2022-02-08 18:42:27 +00:00
gql19950701 8a1d91652f Support esp32 - c3 2022-02-08 11:31:32 +08:00
Bodmer 29094c9c07
Update TFT_eSPI_Generic.h 2022-02-06 15:54:50 +01:00
Bodmer 0dc68c45b8
Update TFT_eSPI_RP2040.h 2022-02-06 15:53:00 +01:00
Bodmer 4dd4cb678d
Update TFT_eSPI_ESP8266.h 2022-02-06 15:50:03 +01:00
Bodmer 3b50740a29
Update TFT_eSPI_ESP32.h 2022-02-06 15:48:42 +01:00
Bodmer 9ff32bf501 Resolve compile error for STM32F parallel interface 2022-02-04 10:54:47 +00:00
Bodmer b6db90ada4 Add new anit-aliased graphics functions
Examples to follow.
2022-02-03 15:37:44 +00:00
Dr. Stefan Labich 14ff368d5f added USE_FSPI_PORT flag to support more ESP32-S2 boards 2022-02-02 16:52:09 +01:00
Bodmer cb2f5be6c8 Allow use of older (pre 2.0.0) ESP32 board packages 2022-01-29 18:52:00 +00:00
Bodmer 3528ac1457 Update PlatformIO example ini file 2022-01-29 16:43:42 +00:00
Bodmer 47895f1e7b Allow RP2040 to read from SPI TFT 2022-01-27 22:15:04 +00:00
Bodmer 230463317f Update TFT_eSPI_RP2040.h 2022-01-26 22:37:27 +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 493b1a7fe5 Update RP2040 PIO support
Add example user setup 61
2022-01-05 00:19:19 +00:00
Bodmer 553307aa63
Fix typo 2022-01-03 23:29:31 +00:00
Bodmer c725f201ee
Update TFT_eSPI_RP2040.c 2022-01-02 19:50: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 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 64a45f6e07
Merge pull request #1241 from matixan/master
Add option to use SPI3 in STM32F4 (and possibly also in F2)
2021-12-11 22:51: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 84a6945716 Updates for ESP32C3 2021-12-01 15:55:15 +00:00
Bodmer 07e77ad051 Fix generic driver
tft_Write_16N was missing.
2021-11-27 23:26:47 +00:00
Bodmer a2822e6d99 Fix VSPI port for ESP32
ESP32 S2 edits caused a problem
2021-11-18 22:03:49 +00:00
Bodmer 9a084839bd Add ESP32 S2 support
Tested with ESP32 board package 2.0.1

Additional boards manager URL may need to be updated to load the latest ESP32 board package!
2021-11-18 16:44:32 +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 9d33b3eac2 RP2040 DMA image copy bug fix
memcpy should be memmove since areas overlap.
2021-11-04 21:44:15 +00:00
Mateusz Czarnecki 28be85212e
Added option to use SPI3 in STM32F4 2021-06-23 14:53:42 +02:00
Bodmer 58f457ba97 Raise issue 2021-05-24 12:04:03 +01:00
Bodmer c7a3f464c3
Fix #1204
This include can now be used with either the latest versions of Arduino official or Earle Philhower's board package.
2021-05-24 11:58:31 +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
Bodmer 612e76343e Remove unused macros 2021-05-11 01:29:56 +01:00