Commit Graph

139 Commits

Author SHA1 Message Date
Bodmer d13f84e4a6 Re-work the support for bi-directional SDA line
Tested on ESP32 and ST7789V display only. It may not work with other
displays!

Use:
#define TFT_SDA_READ

in setup file to use bi-directional SDA pin support.
2018-11-24 01:30:41 +00:00
Bodmer 1cf2305e4d Add capability to read TFT SDA bi-directional pin
Tested on an ESP32 with ST7789V display
SDA read is very slow on an ESP8266 (to be investigated)
Added new setup #define TFT_SDA_READ
Add new ESP32 and ESP8266 compatible in example/Generic folder to test
capture of TFT screen
2018-11-23 03:09:07 +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 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 3faaa32198
Merge pull request #179 from tablatronix/160x80_BGR
160x80 bgr
2018-10-29 19:33:55 +00: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 2f4c48ee72
Add note about SDO
(leave TFT SDO disconnected if other SPI devices share MISO)
2018-08-02 22:51:25 +01:00
Bodmer 59f4b17ed3
Add note about SDO line
(leave TFT SDO disconnected if other SPI devices share MISO)
2018-08-02 22:49:30 +01:00
Shawn A 3ad0820390 adds support for 160x80 ebay module
unknown module 160x80 BGR inverted, offset 26
differs from adafruit of same size
2018-07-30 12:08:02 -05: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 51ed23af0f Support ST7789 rotation offset and boards with no chip select
Other minor changes to tidy code up
Put back in ability to call init() multiple times in sketch
2018-07-06 18:48:24 +01:00
Bodmer 53119823f9 Add support for ST7789 display (240 x 240) 2018-06-01 18:26:09 +01:00
Bodmer f2c92fb75f Free the memory in example! 2018-04-03 01:09:10 +01:00
Bodmer ada678d76e Added Waveshare ePaper support
Also added ability to push 1bpp bitmaps to a Sprite to support rendering
images on an EPaper screen.

Floyd-Steinberg dithering and basic graphics example added as first
ePaper demo.
2018-04-02 02:53:42 +01:00
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 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 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 2854535779 Add support for ESP32 based M5Stack 2018-02-08 00:45:18 +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 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
Max ca54325fbc Add XPT2046 touch controller
supports esp8266 + RPi displays
OO
2017-10-01 00:26:33 +02:00
Bodmer a05db0b2d2 Correct comment 2017-07-15 19:45:42 +01: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 40d35b1892 Examples menu now based on resolution
Reference to particular drivers in examples have been removed as
multiple display drivers are now supported.
Tabs replaced by spaces in header file by file editor.
RPi TFT with write strobe SPI clock rate dropped to 20MHz (display
cannot cope with new high rate siWriteBlock() function)
2017-04-24 22:35:11 +01:00
Bodmer 8e996c0257 Minor bug fixes plus faster block write function added 2017-04-23 18:50:53 +01:00
Bodmer 7a35c9dc4e Tidy legacy comments 2017-04-19 00:23:48 +01:00
Bodmer 1668700f3a Add ILI9163 129 x 128 display support 2017-04-18 23:15:59 +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 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 74a57b7de8 Easier custom font addition 2017-03-11 12:27:38 +00:00
Bodmer cd356bb6c5 Add S6D02A1 and ILI9163 driver code 2017-02-26 03:03:47 +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