Commit Graph

320 Commits

Author SHA1 Message Date
Bodmer
054a824eb8 Add ESP32 VSPI or HSPI port option + others
If the VSPI port is in use and pins are not accessible (e.g. TTGO
T-Beam)
then add or uncomment the following line in the setup header file:
//#define USE_HSPI_PORT

Minor performance tweaks for ESP32 to minimise the occurence of the slow
transaction overhead.

setAddrWindow now takes xstart, ystart, width and height as inputs

Multi-sample raw touch x and y for noisy displays

Example update for setAddrWindow change compatibility
2019-01-22 18:41:31 +00:00
Bodmer
0fdd25186a
Fix #289
A 16 bit color image can now be plotted into an 8 bit Sprite.
2019-01-22 17:43:31 +00:00
Bodmer
8cf85c89d3 Fix #293 for Sprites 2019-01-22 12:10:13 +00:00
Bodmer
b5db54dc79
Fix #293 for ESP8266 core 2.4.2 and later
UTFT8 encoded Unicode values were not being drawn on screen with versions after 2.4.1 of the ESP8266 core.
2019-01-22 11:46:04 +00:00
Bodmer
4e6736e596 Add backlight support
The backlight control pin and ON state can be defined in the setup.h
file. Addresses #229, #226, #221

Comments updated and ILI9488 warning added.
2019-01-06 19:03:31 +00:00
Bodmer
05359a4dff Misc updates
Speed up Sprite rotation on an ESP32
Update utf8 serial decoder to handle illegal format strings
Remove need for D0_USED_FOR_xx (issue #271)
Clean up setup files
Correct various comment typos
2019-01-06 17:45:06 +00:00
Bodmer
96228cbf44 Add Sprite rotation and examples
Sprites can be rendered rotated with defined pivot points, 3 new
examples have been added "Rotated_Sprite_1/2/3".
The FLASH bitmap example has been moved to the Generic examples folder.
Boundary checks have been added to pushImage()
A new scrolling and wrapping in a Sprite example has been added.
2019-01-06 01:14:10 +00:00
Bodmer
e8c201db5e Update touch handler
Added new function that sketch can call to convert raw ADC x and y
values to calibrated screen coordinates:
tft.convertRawXY(&x, &y);

Redunced required number of SPI transfers needed to read raw values.
Changed mode so PENIRQ pin is enabled so users sketch can read this
signal (if needed).

See issue #279.
2019-01-01 23:56:08 +00:00
Bodmer
71a222f704
Fix #276
Fixes warning/error that is only reported with certain compiler warning flag settings ("All" in Arduino IDE).
2018-12-26 16:46:54 +00:00
Bodmer
2a02c81c69
Fix #267 2018-12-03 21:09:54 +00:00
Bodmer
41dea61bfd Correct #263, add setup file for 160x80 TFT, add invert option
Fixed bug where wrong wodth was returned for 1bpp Sprite
Improved speed for copying a 1bpp Sprite into another 1bpp Sprite (
affects Sprite pushImage() function only)
Added option to setup for colour inversion
2018-11-30 23:27:10 +00:00
Bodmer
1a5e34b6bb
Correct typo 2018-11-29 20:29:20 +00:00
Bodmer
b3d16984b0
Raise version 2018-11-28 22:32:14 +00:00
Bodmer
057fceb714
Raise version 2018-11-28 22:31:47 +00:00
Bodmer
e0aa312dfa Slow down the RPi strobes but keep fast for other displays 2018-11-28 22:23:52 +00:00
Bodmer
fa808ed811
Update 2018-11-28 01:03:16 +00:00
Bodmer
436476e9bd
Update 2018-11-28 01:02:54 +00:00
Bodmer
d23f0b00c0
Correct typo causing error message 2018-11-28 01:02:15 +00:00
Bodmer
5d496ca7ee
State SDA read constraint is only for ESP32 2018-11-27 21:19:40 +00:00
Bodmer
47e5a15604
Add news 2018-11-27 21:18:01 +00:00
Bodmer
ff691f8203
Add News 2018-11-26 21:39:42 +00:00
Bodmer
467d1dc3c5 Fix issue #260 2018-11-26 19:50:52 +00:00
Bodmer
beda811a3a Add R61581 driver as detailed in #238
Not tested by Bodmer, tested by s60sc as in #238
2018-11-25 19:41:29 +00:00
Bodmer
046e48f8c3 Delete legacy example 2018-11-25 18:08:29 +00:00
Bodmer
0f630b375b Add TTGO boards 2018-11-25 17:20:40 +00:00
Bodmer
eb08c17b24 Raise version
Arduino library manager picked up the wrong release.

This version raise is to forece a new release to be recognised. Releases
1.3.2 and 1.3.3 have been deleted.
2018-11-25 16:54:31 +00:00
Bodmer
e01ea43baf Fix SPI incompatibility
I fixed the parallel and broke the SPI, now both work!
2018-11-25 03:47:54 +00:00
Bodmer
5e62875ff5 Fix issue #256
Parallel compatibility lost during recent updates.
Now working again.
2018-11-25 03:15:16 +00:00
Bodmer
a0e2bc97d6
Comment typo 2018-11-24 23:45:31 +00:00
Bodmer
ee7d18f7f9 Raise version 2018-11-24 23:32:00 +00:00
Bodmer
b0d56ce394 Add ability to scroll 1bpp Sprites
New example added: Sprite_scroll_1bit
2018-11-24 23:30:40 +00:00
Bodmer
329b794950 Update version and ReadMe
Added notes about reading from the display.
2018-11-24 02:49:13 +00:00
Bodmer
98a61058a4 Fix issue #250 2018-11-24 02:38:49 +00:00
Bodmer
d13f84e4a6 Re-work the support for bi-directional SDA line
Tested on ESP32 and ST7789V display only. It may not work with other
displays!

Use:
#define TFT_SDA_READ

in setup file to use bi-directional SDA pin support.
2018-11-24 01:30:41 +00:00
Bodmer
ef9e4660f1 Merge remote-tracking branch 'origin/master' 2018-11-23 03:16:59 +00:00
Bodmer
1cf2305e4d Add capability to read TFT SDA bi-directional pin
Tested on an ESP32 with ST7789V display
SDA read is very slow on an ESP8266 (to be investigated)
Added new setup #define TFT_SDA_READ
Add new ESP32 and ESP8266 compatible in example/Generic folder to test
capture of TFT screen
2018-11-23 03:09:07 +00:00
Bodmer
d14a09e947
Update notes 2018-11-21 02:30:13 +00:00
Bodmer
419a7ef8de Add option for different RGB colour order with ST7789
// For ST7789 ONLY, define the colour order IF the blue and red are
swapped on your display
//#define TFT_RGB_ORDER TFT_RGB  // Colour order Red-Green-Blue
//#define TFT_RGB_ORDER TFT_BGR  // Colour order Blue-Green-Red
2018-11-19 23:49:32 +00:00
Bodmer
c51ec3751c Raise version 2018-11-16 00:55:58 +00:00
Bodmer
ac7a229301 Remove setAddressWindow change for ESP32
Corner case caused missed graphics.
2018-11-16 00:54:51 +00:00
Bodmer
7a3d6bcab9 Minor performance improvements for ESP32
Remove legacy changes for double buffered SPI
Eliminate unecessary ESP32 SPI read/modify write
Eliminate two stage control bit changes (may impact some diplays with
setup/hold  timing and show ESP32 hardware register bug?)
Add single register write for CS and DC command
Make setAddrWindow smarter (as used in previous AVR library)
Improve compatibility with GFX sketches
Re-arrange comments slightly to improve positioning
2018-11-14 01:05:16 +00:00
Bodmer
c7735a8b8a
Merge pull request #236 from yknivag/master
ICST7735S red-tabbed 80x160 support
2018-11-13 20:38:34 +00:00
Bodmer
21811b1751 Correct colour oder for ST7789 240x320 TFT 2018-11-11 10:44:20 +00:00
Bodmer
beb9bb3360
Add link for UNO style boards with touch screen display 2018-11-09 09:17:13 +00:00
Gavin Smalley
2aeb09db38 Bump version and add option for red-tabbed 160x80 screen support to SetupX_Template.h 2018-11-08 10:32:40 +00:00
Gavin Smalley
8d3a4d09bd Correct rotation 2 for red-tabbed 80x160 screen. 2018-11-07 15:29:29 +00:00
Gavin Smalley
d4ff3c8dce Add support for red-tabbed 80x160 screen. 2018-11-07 14:56:27 +00:00
Bodmer
cbc2e66dfd Update for WROVER to address #232
The library supported 240x240 ST7789 displays only which require an 80
pixel offset in rotation 2 and 3
The library now also supports the 240x320 display which has a different
RGB colour order.
2018-11-06 00:41:14 +00:00
Bodmer
8d29c396e3
Version not raised for #224 change 2018-11-05 22:34:45 +00:00
Bodmer
d5f582cbbb
Version not raised for #224 change 2018-11-05 22:34:15 +00:00