Commit graph

17 commits

Author SHA1 Message Date
Michael Hope 51dddbdc17 lcd: use writePattern for faster erases and lines.
The ESP8266 SPI implementation has a 'writePattern' function that
writes a repeating sequence (in this case a solid colour) to the SPI
port.  This fills up the FIFO and increases the bus utilisation.

Using this for clearing the screen cuts the demo run time from 4721 ms
to 3601 ms.  Also using this for the fast lines cuts the run time to
3424 ms.

Signed-off-by: Michael Hope <mlhx@google.com>
2015-05-17 16:19:17 +02:00
Michael Hope a56ebc5151 lcd: send 16 bits at a time to speed up drawing.
If the hardware supports it, send 16 bits at a time.  This is
worthwhile on chips that have a FIFO like the ESP8266 as it cuts the
demo render time from 6083 ms to 4721 ms.

Signed-off-by: Michael Hope <mlhx@google.com>
2015-05-17 16:05:01 +02:00
Michael Hope 999f5ff29d lcd: add support for the ESP8266.
Refactor the chip and data pins to generic functions.  Add support for
controlling CS and RS via the standard digitalWrite() functions.  Add
support for hardware SPI only devices.

Signed-off-by: Michael Hope <mlhx@google.com>
2015-05-17 15:43:36 +02:00
ladyada e880eb1687 updated all the URLs 2014-09-05 16:18:28 -04:00
ladyada 9bc135dedd clean up the graphics test (unify!) and add 1.44" TFT support 2014-09-05 12:55:49 -04:00
PaulStoffregen 8e44c982f1 Support Teensy 3.0 & 3.1 using AVR code 2013-12-14 18:42:08 -08:00
Phillip Burgess 98c5d9d1a1 Modernized PROGMEM syntax 2013-11-08 10:44:20 -08:00
driverblock 968d8a717d Add support for Arduino Due
LIbrary and examples updated to work with Arduino Due
2013-09-22 16:23:04 -04:00
ladyada 3d868aff97 Added support for black tab (ST7735S?) 2013-03-26 18:01:35 -04:00
Phillip Burgess 9f87cf0a55 Progmem attributes fixed 2012-09-17 14:13:10 -07:00
Paint Your Dragon 71d01262c6 Fix for pre-1.0 Arduino IDE 2012-04-11 16:39:01 -07:00
Paint Your Dragon d74280654e Tweaks for Adafruit_GFX 2012-04-09 20:54:35 -07:00
Paint Your Dragon 737712e48e Corrected Adafruit_GFX library integration 2012-04-03 16:52:28 -07:00
Paint Your Dragon 5005a67ca2 Ties into Adafruit_GFX core graphics library 2012-04-02 10:15:31 -07:00
Ladyada 16fb631ad2 #def for header inclusion 2012-03-08 16:41:32 -05:00
Paint Your Dragon 3b1e2def00 Many bug fixes, esp. BMP file and triangle rendering 2012-03-06 11:56:32 -08:00
Ladyada 9e57ff9d6a Renamed files to match new naming, updated graphics test and rotation test examples 2012-01-29 13:28:38 -05:00
Renamed from ST7735.h (Browse further)