Commit Graph

73 Commits

Author SHA1 Message Date
Bodmer 467d1dc3c5 Fix issue #260 2018-11-26 19:50:52 +00:00
Bodmer beda811a3a Add R61581 driver as detailed in #238
Not tested by Bodmer, tested by s60sc as in #238
2018-11-25 19:41:29 +00:00
Bodmer eb08c17b24 Raise version
Arduino library manager picked up the wrong release.

This version raise is to forece a new release to be recognised. Releases
1.3.2 and 1.3.3 have been deleted.
2018-11-25 16:54:31 +00:00
Bodmer e01ea43baf Fix SPI incompatibility
I fixed the parallel and broke the SPI, now both work!
2018-11-25 03:47:54 +00:00
Bodmer 5e62875ff5 Fix issue #256
Parallel compatibility lost during recent updates.
Now working again.
2018-11-25 03:15:16 +00:00
Bodmer ee7d18f7f9 Raise version 2018-11-24 23:32:00 +00:00
Bodmer 329b794950 Update version and ReadMe
Added notes about reading from the display.
2018-11-24 02:49:13 +00:00
Bodmer 419a7ef8de Add option for different RGB colour order with ST7789
// For ST7789 ONLY, define the colour order IF the blue and red are
swapped on your display
//#define TFT_RGB_ORDER TFT_RGB  // Colour order Red-Green-Blue
//#define TFT_RGB_ORDER TFT_BGR  // Colour order Blue-Green-Red
2018-11-19 23:49:32 +00:00
Bodmer c51ec3751c Raise version 2018-11-16 00:55:58 +00:00
Bodmer 7a3d6bcab9 Minor performance improvements for ESP32
Remove legacy changes for double buffered SPI
Eliminate unecessary ESP32 SPI read/modify write
Eliminate two stage control bit changes (may impact some diplays with
setup/hold  timing and show ESP32 hardware register bug?)
Add single register write for CS and DC command
Make setAddrWindow smarter (as used in previous AVR library)
Improve compatibility with GFX sketches
Re-arrange comments slightly to improve positioning
2018-11-14 01:05:16 +00:00
Gavin Smalley 2aeb09db38 Bump version and add option for red-tabbed 160x80 screen support to SetupX_Template.h 2018-11-08 10:32:40 +00:00
Bodmer cbc2e66dfd Update for WROVER to address #232
The library supported 240x240 ST7789 displays only which require an 80
pixel offset in rotation 2 and 3
The library now also supports the 240x320 display which has a different
RGB colour order.
2018-11-06 00:41:14 +00:00
Bodmer d5f582cbbb
Version not raised for #224 change 2018-11-05 22:34:15 +00:00
Bodmer 9666314eb6 Support for ESP32 PSRAM added
If PSRAM is fitted and enabled the Sprites are now created in PSRAM.
This makes multiple full screen buffers possible!
2018-10-21 21:22:20 +01:00
Bodmer 1a0b37097a Add new anti-aliased (smooth) font examples + bug fixes
Four new examples have been added to show different methods of rendering
the anta-aliased fonts.  A few minor bugs have been corrected associated
with the font rendering. drawNumber and drawFloat handle fixed width
mono fonts with no digit movement.
2018-10-21 17:53:27 +01:00
Bodmer 22177cf29a Raise version 2018-10-11 23:48:25 +01:00
Bodmer a9c4351c64 Allow more settle time for raw values read from touch controller 2018-08-26 23:17:58 +01:00
Bodmer 273aed5c85
Raise to version 1.0.0 2018-08-01 23:14:59 +01:00
Bodmer 73c1831e7b Add option for a different TFT read SPI frequency
#define SPI_READ_FREQUENCY  20000000 // Optional reduced SPI frequency
for reading TFT

Also weeded out some compiler warnings
2018-07-29 15:00:09 +01:00
Bodmer 5b0d96d64d Completed support for SPI ILI9488
Setup20 added for ESP8266 and Setup21 addwd for ESP32
2018-07-07 22:41:53 +01:00
Bodmer a76d0d60dc Raise version 2018-07-06 18:49:23 +01:00
Bodmer 98c51c57a6 Raise version and update ReadMe 2018-06-01 18:28:48 +01:00
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 eded971f9f Raise minor issue 2018-04-21 09:50:41 +01:00
Bodmer 1163817887 Update version 2018-04-11 01:04:19 +01:00
Bodmer b21cdfac1a Raise issue 2018-04-02 02:55:25 +01:00
Bodmer 1f531523dd Update ReadMe and raise version 2018-03-26 01:16:00 +01:00
Bodmer 8e7e2a3b8f Increment version 2018-03-12 22:50:35 +00:00
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