Commit Graph

1159 Commits

Author SHA1 Message Date
Bodmer
898718c872 Update ReadMe
Add 8 bit colour depth.
2017-11-22 00:59:32 +00:00
Bodmer
3b5e673603 Version update, minor tweaks and typos 2017-11-22 00:53:09 +00:00
Bodmer
3e3d638bba Add support for 8 bit color sprites (needs less RAM)
Added setColorDepth(d) where "d" is 8 or 16.
Default is 16 bit if not specified.
2017-11-21 22:57:11 +00:00
Bodmer
85698be07f
Sprite text update 2017-11-16 21:27:38 +00:00
Bodmer
25a8e87f33
Add sprite text 2017-11-16 21:24:35 +00:00
Bodmer
1b5ffe4189
Fn changed 2017-11-15 22:41:17 +00:00
Bodmer
fbb07be73b
Stop pointer error 2017-11-15 22:38:57 +00:00
Bodmer
2c6f1c70e4
typo 2017-11-15 21:55:06 +00:00
Bodmer
943c18facf Add sprite class
Sprites (images) can now be created in RAM, written to with text and
graphics and rendered to screen quickly, this makes it easier to get
flicker frre screen updates.
ESP8266 can typically create up to a 160x128 sprite, and ESP32 about
200x200 pixels. 16 bit colour only at the moment, may soon implement 8
bit colour to reduce RAM.
2017-11-15 20:26:22 +00:00
Bodmer
62c02b67f7
Replace accidentally deleted line! 2017-11-15 10:19:45 +00:00
Bodmer
2e91bcd137
Issue #53 fix
In case of a non- supported BMP, the _tft->setRotation() should not be executed.
2017-11-13 21:15:28 +00:00
Bodmer
2333e1ab5c Initialise touch parameterswith example calibration values
This avoids a processor crash it setTouch() not called in setup()
2017-11-04 20:56:26 +00:00
Bodmer
8734a05d3e Update touch handler to work with ESP32
Adde Setup11... for testing with ESP32
2017-11-04 19:11:50 +00:00
Bodmer
0562594ae3 Fix issue #49 2017-11-02 01:49:35 +00:00
Bodmer
fbdc65a3c7 Whoops, another typo - who put S and W keys next to each other ;-) 2017-10-25 02:08:52 +01:00
Bodmer
5d497f751b Correct typo 2017-10-25 02:05:59 +01:00
Bodmer
acd3fe7b85 Add simple touch calibrate and test sketch
This one does not need SPIFFS, cal data is embedded in sketch by user.
2017-10-25 01:57:42 +01:00
Bodmer
df4e658fe4 Improved touch detection and position reliability 2017-10-25 01:41:01 +01:00
Bodmer
94520c4071 XPT2046 SPI frequency can be always defined
One less thing to edit or forget!
2017-10-23 15:11:57 +01:00
Bodmer
19672f97e4 Update version and ReadMe 2017-10-23 02:09:10 +01:00
Bodmer
e4ea506b65 Update touch, add Button class
Touch reliability improved by using pressure and double sampling. Added
Adafruit compatible Button class. Added touchscreen on/off and keypad
examples.
2017-10-23 01:59:37 +01:00
Bodmer
d484a56574 Update RPi screen connection image
Identify touch controller chip select and required MISO line.
2017-10-20 22:13:47 +01:00
Bodmer
5591c6bae0 Change to always use mutex handling with ESP32
Grabbing the mutex for exclusive SPI access by the TFT library causes a
crash when OTA updates are done. Always switching the hal mutex is only
marginally slower so that is now the default.
2017-10-20 18:05:21 +01:00
Bodmer
167dcd5373 Revert 160 x 128 jpeg code 2017-10-17 00:11:13 +01:00
Bodmer
0bcf7eaa6b Correct jpeg decoder image edge rendering
Revert setup file and add setup 10
2017-10-17 00:07:49 +01:00
Bodmer
f907ac31b7 Tidy up code merge 2017-10-16 23:26:54 +01:00
Bodmer
afe310f00f Merge pull request #43 from maxpautsch/master
Add XPT2046 touch controller support
2017-10-16 23:00:12 +01:00
Bodmer
80b5d91ba4 Fix right edge jpeg image corruption
Jpeg images with non integer number of MCU pixels showed corrupted right
edge. Fix is to concatenate pixels into a contiguous block. Examples
corrected.
2017-10-11 00:59:14 +01:00
Max
548fcca258 now calibration works with all orientations. 2017-10-01 21:34:11 +02:00
Max
b6d234af70 should add ESP32 support. do not have hardware to test. 2017-10-01 00:58:33 +02:00
Max
8813ed35b1 should add esp32 support. have no hardware to test. 2017-10-01 00:56:05 +02:00
Max
944e505f36 Add XPT2046 touch controller support
supports esp8266 + RPi displays
2017-10-01 00:32:30 +02:00
Max
ca54325fbc Add XPT2046 touch controller
supports esp8266 + RPi displays
OO
2017-10-01 00:26:33 +02:00
Bodmer
53836b6f9d Merge pull request #37 from MarkyAD/md-branch
fix for ST7735_REDTAB
2017-09-16 00:46:11 +01:00
Mark
c735d18a41 fix for ST7735_REDTAB 2017-09-11 03:32:34 -04:00
Bodmer
15dcc77909 Add jpeg examples for 160x128 display 2017-07-15 23:39:57 +01:00
Bodmer
a05db0b2d2 Correct comment 2017-07-15 19:45:42 +01:00
Bodmer
8595a434c3 Raise version number, update ReadMe 2017-07-15 19:29:13 +01:00
Bodmer
6b794e1eb3 Add SPI overlap support Issue #26
Note, must use latest ESP board package with support for the overlap
mode
2017-07-15 18:44:49 +01:00
Bodmer
bacd198832 Free font bounding box correction
1 pixel correctio for background bounding box determination
2017-07-07 23:52:01 +01:00
Bodmer
cbc8d209a3 Remove 1 pixel border on FreeFont background
This caused problems when the font is rendered at screen edges.
2017-06-16 19:05:12 +01:00
Bodmer
49340b3952 Add RPi display support for ESP32 2017-06-16 15:17:28 +01:00
Bodmer
2d0f580a38 Silicon bug work-around for Issue #21
There is a silicon bug in the ESP32, writing the same value to a
register twice sometimes fails. TFT_CS needs a delay though, so the fix
is to write two different values to the register.
2017-06-16 13:45:49 +01:00
Bodmer
5274d35207 Revert "Clear out attributes"
This reverts commit 1c8a93e399.
2017-05-23 02:02:35 +01:00
Bodmer
1c8a93e399 Clear out attributes 2017-05-22 23:48:34 +01:00
Bodmer
d9694ef50d Correct textwrap limit (Issue #18) 2017-05-22 23:43:26 +01:00
Bodmer
a2ab44f106 Revert "Corrext teztwrap limit (Issue #18)"
This reverts commit 4230f6bc30.
2017-05-22 23:41:56 +01:00
Bodmer
4230f6bc30 Corrext teztwrap limit (Issue #18) 2017-05-22 23:41:32 +01:00
Bodmer
c52db6bf59 Add ESP32 compatibility
Tested with ILI9341 only so far!
2017-05-20 01:37:58 +01:00
Bodmer
bd37f9a8de Make byte pointers explicit 2017-05-01 23:42:17 +01:00