Commit Graph

151 Commits

Author SHA1 Message Date
Bodmer 54b3f0f63d Add drawXBitmap() function and example
Example is in Generic folder, draw the Espressif logo on the screen.
2018-04-23 17:16:18 +01:00
Bodmer f56184e9cd Add diagnostic sketches
Do not load button class is touch screen chip select not defined
2018-04-11 01:03:26 +01:00
Bodmer f2c92fb75f Free the memory in example! 2018-04-03 01:09:10 +01:00
Bodmer ada678d76e Added Waveshare ePaper support
Also added ability to push 1bpp bitmaps to a Sprite to support rendering
images on an EPaper screen.

Floyd-Steinberg dithering and basic graphics example added as first
ePaper demo.
2018-04-02 02:53:42 +01:00
Bodmer d9d5625e48 Add 1 bpp examples 2018-03-28 01:59:06 +01:00
Bodmer 0f22d124f6 Add note rthat Read ID sketch does not work with parallel displays 2018-03-22 22:33:01 +00:00
Bodmer bbacd3a8a3 Fix issue in #110
Array name close[] clashes with a ESP32 function name.
Renamed array to closeX[]
2018-03-22 22:27:09 +00:00
Bodmer 8752236ac2 Add smooth (antialiased) fonts 2018-02-24 19:02:20 +00:00
Bodmer 5ed1bb6777
Allow larger images 2017-12-16 01:38:09 +00:00
Bodmer 0dacb156ed
Allow larger images 2017-12-16 01:37:22 +00:00
Bodmer ca13757c9b
Allow larger images
width or height over 127 pixels got converted to a negative number!
2017-12-16 01:36:16 +00:00
Bodmer 93ba6e3716 Add scrolling inside a sprite
Added example "Sprite_scroll"
Tidy up virtual function list
Add PROGMEM bitmap image functions
2017-12-10 23:04:31 +00:00
Bodmer d2104f6d85 Add ability to plot Sprites with a "transparent" colour
Can now specify a colour that will not be plotted so some part of the
Sprite are "transparent" and the TFT backforund shows through. New
example added for demonstration.
2017-12-03 02:29:39 +00:00
Bodmer 312b7c1128 Tidy up 8 bit sprite code and fix gugs
Minor tweaks and speed improvements
2017-11-24 14:12:29 +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 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 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 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 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 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 ca54325fbc Add XPT2046 touch controller
supports esp8266 + RPi displays
OO
2017-10-01 00:26:33 +02:00
Bodmer 15dcc77909 Add jpeg examples for 160x128 display 2017-07-15 23:39:57 +01:00
Bodmer 399411312c Fix date over-write bug
Also text over-write during bootup
2017-04-27 23:56:38 +01:00
Bodmer 40d35b1892 Examples menu now based on resolution
Reference to particular drivers in examples have been removed as
multiple display drivers are now supported.
Tabs replaced by spaces in header file by file editor.
RPi TFT with write strobe SPI clock rate dropped to 20MHz (display
cannot cope with new high rate siWriteBlock() function)
2017-04-24 22:35:11 +01:00
Bodmer 086e52804f Add Jpeg rendering example 2017-03-27 19:40:17 +01:00
Bodmer 4f8029b096 Added support for RPi TFT
16 bit serial based ILI9486 supported
2017-03-24 23:23:35 +00:00
Bodmer 4d0488a906 Update screenshot client and server sketches
Server can now provide a filepath/name,  define saved image file type
and specify filename extension method.  Max number of images saved by
client per session limited to 1000. A pause/run button has been added.
2017-03-13 02:31:59 +00:00
Bodmer d89b72f93c Update custom font example 2017-03-12 01:20:24 +00:00
Bodmer 189a390f34 Correct red blue colour swap 2017-03-12 01:10:29 +00:00
Bodmer abd9451048 Added custom font example 2017-03-11 12:59:45 +00:00
Bodmer c5ccfec618 Replace file with correctly named one 2017-03-10 19:19:30 +00:00
Bodmer c3003a0b7a Remove file with name error 2017-03-10 19:18:57 +00:00
Bodmer 406aac051e Update to screenshot sketches + others
Minor tweaks and re-arrangement of User and Custom font references
between header files
2017-03-10 19:16:31 +00:00
Bodmer 7fd7ab59f5 Correct typo 2017-03-01 00:13:54 +00:00
Bodmer 3314530bbb Add processing screenshot viewer 2017-02-28 22:13:16 +00:00
Bodmer 747931266b Example update now complete 2017-02-25 02:14:17 +00:00
Bodmer b7315803f4 Update examples
Now compatible with ESP8266
2017-02-24 21:00:40 +00:00
Bodmer d383521144 Correct search and replace error! 2017-02-22 23:02:33 +00:00
Bodmer e1b2959577 First draft release
Not yet fully tested but seems to work OK!
2017-02-22 03:07:17 +00:00