Commit Graph

1040 Commits

Author SHA1 Message Date
Bodmer 9276b0162d Add support for 1 bit per pixel in Sprite class
This is stage one of support for ePaper displays from Waveshare.
Examples for 1 bit per pixel Sprites and 2 or 3 colour ePaper displays
to follow soon.
2018-03-26 01:02:23 +01:00
Bodmer 1db0c30b81
Add new drivers to list 2018-03-25 18:55:25 +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 ba16be5aa8
Correct Unicode format reference 2018-03-16 23:38:05 +00:00
Bodmer a6b532e576
Smaller ePaper image 2018-03-16 23:28:10 +00:00
Bodmer 8ad0eea2ca
Correct markup format errors 2018-03-16 23:21:31 +00:00
Bodmer 1eee96a916
Add ePaper to future section 2018-03-16 23:19:32 +00:00
Bodmer ca968e6786
Add comment about touch on parallel displays 2018-03-16 22:55:48 +00:00
Bodmer 8e7e2a3b8f Increment version 2018-03-12 22:50:35 +00:00
Bodmer 972d852346 Correct issue #104 and update setup files
Macro name (transfer16) conflict with SPI library fixed
Smooth font option added to User Setup files
Narrow font 8 option added to User Setup files
2018-03-12 22:49:18 +00:00
Bodmer 076d5f6f05 Add missing setup files
Thanks to Phaedra on the Arduino forum for pointing this out.
2018-03-11 14:09:27 +00:00
Bodmer 16be0b9abb Revert to defaults 2018-03-11 00:12:42 +00:00
Bodmer 90f70109a7 Add images showing ESP32 UNO board mod 2018-03-10 23:21:20 +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 1656fa1a5f Add image to Readme 2018-02-24 19:38:13 +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 02a902f617
Potential fix for issue #96 2018-02-24 18:35:03 +00:00
Bodmer 3d993afe7e
see Smooth_font branch for beta version 2018-02-23 23:44:12 +00:00
Bodmer a44ea8d945
Add comment about Smooth_font branch 2018-02-23 23:42:34 +00:00
Bodmer 8df115ab4d Raise version 2018-02-22 22:33:49 +00:00
Bodmer 2fbc2e4adf Add text for ESP8266 overlap mode, add workaround for ESP32 silicon bug 2018-02-22 22:28:23 +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 e86f76c15b Correct mirrored rotations 4-7 for M5Stack 2018-02-09 20:32:55 +00:00
Bodmer 299eafc45a Add ESP32 to platform list 2018-02-08 00:59:30 +00:00
Bodmer b737a398b3 Correct version add ESP32 2018-02-08 00:56:50 +00:00
Bodmer e9fa103aae Updaye keywords 2018-02-08 00:53:14 +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 cf80bc22ad
Update keywords 2018-02-06 23:39:41 +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 1f84ab0885 Reinstate 8bit pushColors()
Permits backwards compatibility
2018-01-27 13:46:59 +00:00
Bodmer b2e4e69f7a Fix Issue #81 2018-01-27 02:35:25 +00:00
Bodmer 6c993f8fd2 Add getCursorX() and getCursorY() functions
As requested in Issue #79

Function names are compatible with Adafruit_GFX

Also trimmed out duplicate keywords
2018-01-26 15:19:40 +00:00
Bodmer 26c4cac3c9
Merge pull request #80 from per1234/keywords_txt-capitalization
Correct capitalization of keywords.txt
2018-01-26 11:21:29 +00:00
per1234 c7ee9c27e3
Correct capitalization of keywords.txt
Incorrect capitalization of the filename caused keywords highlighting to not work on filename case sensitive operating systems.
2018-01-25 18:28:41 -08:00
Bodmer 523fec4e3f
Update 2018-01-08 23:37:02 +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 53cc05d9e3
Correct typo and mark-up format errors 2017-12-29 20:08:58 +00:00
Bodmer 1cc63795e6
Add future developments section 2017-12-29 17:29:34 +00:00
Bodmer 5e98ce5294 Avoid divide by zero crash if touch screen not fitted or not wired up 2017-12-27 14:57:01 +00:00
Bodmer b536af5062 Fix bug
If touch not used dummy getTouch missing the new threshold parameter.
2017-12-22 00:50:24 +00:00
Bodmer 936b5cccc7 Add default touch detect threshold 2017-12-22 00:02:31 +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 170473b3e4
Merge pull request #67 from atanisoft/master
Allow externally defined configuration rather than User_Setup.h modifications in library
2017-12-17 12:07:05 +00:00
atanisoft ef543a652c
Update User_Setup_Select.h
Adding ability to load settings from the calling program rather than modifying the library for each project that uses it. This is mostly for PlatformIO IDE which manages the libraries differently than Adruino IDE.
2017-12-16 06:50:23 -08:00
Bodmer 5ed1bb6777
Allow larger images 2017-12-16 01:38:09 +00:00