Commit Graph

45 Commits

Author SHA1 Message Date
Bodmer a00011c2df Add 8 bit parallel TFT support for ESP32
Add interface driver macro
Add 8 bit parallel support
Add 8 bit parallel read support
Add ILI9481, ILI9488 and HX8357D drivers
Update version and ReadMe
Update Create_Font processing sketch
Add slightly narrower alternative font 8
2018-03-10 23:08:57 +00:00
Bodmer 324ee1a510 Update files for new fonts 2018-02-24 19:31:25 +00:00
Bodmer 8752236ac2 Add smooth (antialiased) fonts 2018-02-24 19:02:20 +00:00
Bodmer 8df115ab4d Raise version 2018-02-22 22:33:49 +00:00
Bodmer ff335f61c5 Make setup files consistent
User setups are now all based on the same template.
2018-02-09 21:52:26 +00:00
Bodmer b737a398b3 Correct version add ESP32 2018-02-08 00:56:50 +00:00
Bodmer 2854535779 Add support for ESP32 based M5Stack 2018-02-08 00:45:18 +00:00
Bodmer fe36cbda99
Update keywords 2018-02-06 23:40:45 +00:00
Bodmer f3190fde71 Allow init() to be called in sketch to reset and re-initialise TFT
Solution to Issue #85
2018-01-27 19:22:42 +00:00
Bodmer 139fe8dc4c Stop y wrapping
I need this in my project but will add a switch.
2018-01-27 14:20:22 +00:00
Bodmer 9de702f8b3 Update issue 2018-01-27 13:47:57 +00:00
Bodmer aa2c79a25f Performance enhancements, new functions, bug fixes
1. Ability to swap bytes in pushColors() and pushImage()
2. pushImage() will handle FLASH stroed images
3. pushImage() will accept a transparent color
4. pushRect() deprecated but still works
5. setSwapBytes() to set swapping bytes in color for pushImage() and
pushColors() true or false
6. getSwapBytes() returns swap bytes parameter
7. fillCircle() and fillCircleHelper() changed to use horizontal lines
to speed up plotting in a sprite
8. fillTriangle bug fix by moving spi_begin()
9  Small performance improvement to setAddrWindow()
10. pushColor() bug fix for swapped bytes
11. pushColors() performance improvement for ESP8266 and add optional
byte swap parameter, accepts higher pixel count
12. move spi_begin() later in drawLine() incase fn returns early
13. add spi_end() in drawLine incdae return occurs early
14. Add color332() fn to convert 16 bit to 8 bit colour
15. Sprite: createSprite() checks if sprite already created and returns
pointer if it does
16. Sprite: one extra "off-screen pixel added to a sprite to point
out-of-bounds setWindow coords to
this avoids extra bounds checks in push/write color
17. Sprite: setColorDepth allows changing of depthe for existing sprtie
and returns a new pointer to the new sprite
18. Sprite: pushImage() accepts a swapped byte parameter
19. Sprite: setSwapBytes() to set swapping bytes in color for
pushImage() and pushColors() true or false
20. Sprite: getSwapBytes() returns swap bytes parameter
21. Sprite: setWindow deals with duff out of sprite coords.
22. Sprite: bug in draw char corrected which could draw too many
over-writing pixels
2018-01-08 23:19:42 +00:00
Bodmer 2e84218ecb Add touch pressure hysterisis and user defined sensitivity
getTouch accepts a third optional pressure threshold, default is 600,
increasing means harder presses are needed.
getTouch(uint16_t *x, uint16_t *y, uint16_t threshold = 600);
2017-12-21 23:16:11 +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 7f909a1527 Fix bug in 16 bit transparent Sprite 2017-12-03 02:55:43 +00:00
Bodmer ae8571b474 Raise version 2017-12-03 02:30:42 +00:00
Bodmer 6b924c5504
Raise version for #60 fix 2017-11-30 22:43:10 +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 e2d019b656 Update version number 2017-11-24 15:04:15 +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 19672f97e4 Update version and ReadMe 2017-10-23 02:09:10 +01:00
Bodmer 8595a434c3 Raise version number, update ReadMe 2017-07-15 19:29:13 +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 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 6353547074 Up issue 2017-04-26 22:22:46 +01:00
Bodmer cdb836876d Increment issue
Minor format and typo errors corrected
2017-04-24 22:43:04 +01:00
Bodmer 8e996c0257 Minor bug fixes plus faster block write function added 2017-04-23 18:50:53 +01:00
Bodmer 1668700f3a Add ILI9163 129 x 128 display support 2017-04-18 23:15:59 +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 a71a98a59c Increment version 2017-04-14 16:00:44 +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 d3d877c8e2 Add RPi display support for write strobe mod 2017-03-27 02:15:30 +01:00
Bodmer f5579d8b62 Update version 2017-02-25 02:19:06 +00:00
Bodmer 237565cff0 Update with multiple User_Setup file option
Added Tools folder and licence for Marek's screenshot viewer utility
2017-02-22 10:04:26 +00:00
Bodmer e1b2959577 First draft release
Not yet fully tested but seems to work OK!
2017-02-22 03:07:17 +00:00