Commit Graph

924 Commits

Author SHA1 Message Date
Bodmer 0a2c84212b
Raise version for #60 fix 2017-11-30 22:42:47 +00:00
Bodmer 8b24e61b99
Fix issue #60
Do not adjust x datum for characters that have a positive offset.
2017-11-30 22:41:23 +00:00
Bodmer 706af163c0 Add some crash prevention
Prevent memory access to non-existant Sprite memory areas which would
cause a processor reset.
2017-11-30 00:27:56 +00:00
Bodmer 75bc8c45d7
Raise version to 0.17.12 2017-11-29 10:00:59 +00:00
Bodmer 1e60eda376
Raise version to 0.17.12 2017-11-29 10:00:11 +00:00
Bodmer 6fc63061d7 Filter bad character codes
Do not substitute bad characters for first valid one.
2017-11-29 02:00:47 +00:00
Bodmer e18383a29c Bounds check character codes (issue #58)
Correct isuue #58
2017-11-29 00:38:05 +00:00
Bodmer 34af7debc5
Merge pull request #57 from turiphro/master
Fix width/height override issue when using setRotation
2017-11-27 21:20:32 +00:00
turiphro b97324875d Fix width/height override issue when using setRotation
This commit fixes an issue when setting screen width
and height from the constructor (e.g., user sketch),
followed by setRotation(i). Previously, setRotation
used TFT_WIDTH and TFT_HEIGHT, ignoring user overrides.
2017-11-26 18:06:11 -08:00
Bodmer 58fa8326a2
Correct uninitialised warning on ESP32
int16_t  xo16 = 0, yo16 = 0;
2017-11-26 12:38:20 +00:00
Bodmer e2d019b656 Update version number 2017-11-24 15:04:15 +00:00
Bodmer 218dd1b06e Bug fix
Should have tested that last minute edit!
2017-11-24 15:03:24 +00:00
Bodmer 449c421915 Clarification on sizes 2017-11-24 14:26:27 +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 3e31f162fe
Typo 2017-11-22 01:00:37 +00:00
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