Commit Graph

333 Commits

Author SHA1 Message Date
Bodmer 35a402f6a8 Raise issue in header 2019-02-10 21:38:34 +00:00
Bodmer 1e1e888fa0 Support extended font formats
Adafruit_GFX font support extended to Unidode Basic Multilingual Plane
Print stream deocdes UTF-8
Smooth font ascent and descent (affects line spacing) changed to rely on
metrics provided by Processing IDE (issue #303)
Bug fix for font rendering with no background on RLE native fonts
2019-02-10 21:36:40 +00:00
Bodmer 6a42e4b16d
Remove debug lines to fix rendering part of #303 2019-02-10 11:06:40 +00:00
Bodmer b5a74a016a
Fix #301 2019-02-10 01:25:34 +00:00
Bodmer 0b8e957203 Remove screen server code 2019-02-08 18:50:03 +00:00
Bodmer 61dfb2b4ac Extended character set suport for Adafruit_GFX format fonts
Supports Adafruit_GFX compatible font format with characters in the range 32-255.

Note that the font rendering functions expect UTF-8 encoded characters/strings.
2019-02-08 18:25:55 +00:00
Bodmer 7479f7e680 Fix transparent Sprite rendering 2019-02-04 01:48:53 +00:00
Bodmer 091d8cd231 Fix issue #297
There is a bug in the ESP8266 Arduino core that averwrites the overlap
mode setup and hold bits for the hardware driven SPI SS line.  The
TFT_eSPI library has been patched as a work-around.

In overlap mode to maintain the required setup and hold times at 80MHz
ESP8266 CPU clock the SPI rate must be 27MHz or less. At 160MHz CPU
clock the SPI rate can be 40MHz.
2019-02-03 21:54:24 +00:00
Bodmer 33d9313113
Update for ESP8266
ESP32 printf() can handle String type but ESP8266 cannot.
2019-01-31 01:17:19 +00:00
Bodmer caef4519f3 Improve bounds checking update CS management
Add bounds checking to graphics functions
Rationalise variable types and style used to minimse type casting needs
(this change ended up being a more extensive refactoring than
anticipated - but once started...)
Add version reporting to diagnostic sketch
Boost PDQ graphicstest performance
2019-01-25 14:25:40 +00:00
Bodmer e8a0024054
Fix issue #295 2019-01-25 13:03:28 +00:00
Bodmer 11ef56d48c Test slower DC and CS lines for a user 2019-01-23 20:55:04 +00:00
Bodmer 0460ab64d2 Delete weather-station example
Because Weather Underground will no longer support free API's
2019-01-22 19:09:18 +00:00
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