Commit Graph

97 Commits

Author SHA1 Message Date
Bodmer b5db2cd3fa
minor edit 2019-07-21 13:27:27 +01:00
Ricard Bitria Ribes f14ee2cd9f Add new driver RM68140
-Added new RM68140 480x320 TFT. It works like ILI9481 but needed some changes to make setRotation() work properly.
-Fixed some PlatformIO warnings
2019-07-20 20:57:22 +02:00
Bodmer 9f17920115 Add ESP32 SD support for smooth font plus performance updates
Added SD card storage for smooth fonts with ESP32
ESP32 will use PSRAM (if available and enabled) to hold smooth font
metrics
Improve performance of ESP32 Sprite shared functions
Add basic ST7789 driver option
Latent bug fixes for pin mask
2019-04-15 12:23:16 +01:00
Bodmer 652383b694
Fix part of Issue #322 2019-03-04 13:34:29 +00:00
Bodmer 4e6736e596 Add backlight support
The backlight control pin and ON state can be defined in the setup.h
file. Addresses #229, #226, #221

Comments updated and ILI9488 warning added.
2019-01-06 19:03:31 +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 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
Bodmer c7735a8b8a
Merge pull request #236 from yknivag/master
ICST7735S red-tabbed 80x160 support
2018-11-13 20:38:34 +00:00
Bodmer 21811b1751 Correct colour oder for ST7789 240x320 TFT 2018-11-11 10:44:20 +00:00
Gavin Smalley 8d3a4d09bd Correct rotation 2 for red-tabbed 80x160 screen. 2018-11-07 15:29:29 +00:00
Gavin Smalley d4ff3c8dce Add support for red-tabbed 80x160 screen. 2018-11-07 14:56:27 +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 ffef37a22d Revert "Issue #232"
This reverts commit 38d99a53dd.
2018-11-04 20:46:39 +00:00
Bodmer 38d99a53dd
Issue #232 2018-11-04 20:41:10 +00:00
Bodmer d7c8649938
Merge pull request #182 from amakukha/master
Added ST7789 initialization
2018-11-03 20:50:09 +00:00
Andriy Makukha 8eefc6f26e Added ST7789 initialization 2018-08-01 21:36:15 +08: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 4a52f5e685 Add ability to set ST7735 tab color from sketch
Use line is form:
tft.init(1);
or:
tft.init(INITR_REDTAB);
// Enumerated the configurations in library are:
#define INITR_GREENTAB
0x0
#define INITR_REDTAB    0x1
#define INITR_BLACKTAB  0x2
#define
INITR_GREENTAB2 0x3 // Use if you get random pixels on two edges of
green tab display
#define INITR_GREENTAB3 0x4 // Use if you get random
pixels on edge(s) of 128x128 screen
#define INITR_GREENTAB128 0x5 // Use
if you only get part of 128x128 screen in rotation 0 & 1
#define INITB
0xB
2018-05-25 22:48:22 +01:00
Bodmer af5a193bad
Change to RGB as updated in #143 2018-05-20 22:33:43 +01:00
Bodmer a3107d7ed2
RGB instead of BRG as updated in #143 2018-05-20 22:31:54 +01:00
Bodmer 002da5be97
Correct mirroring reported in #143 2018-05-19 20:01:11 +01:00
Bodmer 1c48bf6f7e
Correct mirror reported in #143 2018-05-19 19:51:20 +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 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 8752236ac2 Add smooth (antialiased) fonts 2018-02-24 19:02:20 +00:00
Bodmer e86f76c15b Correct mirrored rotations 4-7 for M5Stack 2018-02-09 20:32:55 +00:00
Bodmer 2854535779 Add support for ESP32 based M5Stack 2018-02-08 00:45:18 +00:00
turiphro b97324875d Fix width/height override issue when using setRotation
This commit fixes an issue when setting screen width
and height from the constructor (e.g., user sketch),
followed by setRotation(i). Previously, setRotation
used TFT_WIDTH and TFT_HEIGHT, ignoring user overrides.
2017-11-26 18:06:11 -08:00
Mark c735d18a41 fix for ST7735_REDTAB 2017-09-11 03:32:34 -04:00
Bodmer 0bd3930b72 Correct missing #defines for ST7735 TFT 2017-04-26 22:16:59 +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 0c187c7840 Add ILI9163 128 x 128 support 2017-04-18 23:22:14 +01:00
Bodmer 02edb37db7 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	TFT_Drivers/ILI9163_Init.h
2017-04-18 23:20:42 +01:00
Bodmer 1668700f3a Add ILI9163 129 x 128 display support 2017-04-18 23:15:59 +01:00
Bodmer 2ab0bb6778 Exit sleep mode
Exit sleep mode should not have been commented out
2017-04-18 17:36:35 +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 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 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