Commit Graph

137 Commits

Author SHA1 Message Date
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 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 8734a05d3e Update touch handler to work with ESP32
Adde Setup11... for testing with ESP32
2017-11-04 19:11:50 +00:00
Bodmer df4e658fe4 Improved touch detection and position reliability 2017-10-25 01:41:01 +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 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
Max 548fcca258 now calibration works with all orientations. 2017-10-01 21:34:11 +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
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 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
Bodmer 8e996c0257 Minor bug fixes plus faster block write function added 2017-04-23 18:50:53 +01:00
Bodmer c2dcf25cc1 Add support for ST7735 128x128 display
May not cater for 128x128 ST7735 displays with different RGB and offset
configurations.
2017-04-16 16:13:12 +01:00
Bodmer 6526e34e7c Work around for D4 IDE bug
A condition can exist where pin D4 is allocated a value of 0
The workaround is to define and use pin numbers in the PIN_Dx format
2017-04-14 15:45:40 +01:00
Bodmer d31cbc3dbd Format and code tidy - fixes for compatibility issues 2017-04-14 01:04:04 +01:00
Bodmer e65f4cb1fe Rename swap() to avoid clashes
Increment version
2017-04-13 00:20:19 +01:00
Bodmer c5fafdd71c Minor performance tweaks
Plus code tidy and typo corrections
2017-03-28 23:56:54 +01:00
Bodmer 0f5c2dcdf6 Fix \ to / again!
\ upsets Linux in file paths
2017-03-28 23:12:44 +01:00
Bodmer d3d877c8e2 Add RPi display support for write strobe mod 2017-03-27 02:15:30 +01:00
Bodmer 4f8029b096 Added support for RPi TFT
16 bit serial based ILI9486 supported
2017-03-24 23:23:35 +00:00
Bodmer 20c9086853 Add support for ST7735 128x128 TFT 2017-03-17 00:03:35 +00:00
Bodmer 4f857c43fd init reg 2017-03-14 09:51:44 +00:00
Bodmer 0fe1acf6cb Allow MISO (D6) to be used as DC or CS pin 2017-03-12 03:31:51 +00:00
Bodmer c2cf07db1e Tweak padding
Allows for negative x offsets in fonts
2017-03-12 01:16:07 +00:00
Bodmer a427626cfc Weed out legacy variables, add readAddrWindow()
readAddrWindow is a private function to support pixel and block reads of
the TFT screen. Tested on ILI9341.
2017-03-11 16:59:34 +00:00
Bodmer 05a9aee260 Permit D6 (MISO) to be used for DC to save on pins
Using D6 (MISO) for the DC line is not recommended as transaction support and TFT reads may cause it to become and input!
However if a hardware setup has no other pins spare, then this is an option that can be tried.
2017-03-11 16:38:29 +00:00
Bodmer cd356bb6c5 Add S6D02A1 and ILI9163 driver code 2017-02-26 03:03:47 +00:00
Bodmer e1b2959577 First draft release
Not yet fully tested but seems to work OK!
2017-02-22 03:07:17 +00:00