Commit graph

20 commits

Author SHA1 Message Date
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
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
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
Phillip Burgess
5e76c85a45 Fix for recent Adafruit_GFX change 2013-07-05 11:39:18 -07:00
ladyada
3c00bd1614 fix for black tab using MADCTL 2013-04-29 21:58:14 -04:00
ladyada
3d868aff97 Added support for black tab (ST7735S?) 2013-03-26 18:01:35 -04:00
ladyada
4aea3d1d73 hmm undo last commit 2012-11-12 12:33:55 -05:00
lady ada
288b91c820 Fixed progmem declarations (again?) 2012-11-03 19:23:07 -04:00
Phillip Burgess
9f87cf0a55 Progmem attributes fixed 2012-09-17 14:13:10 -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
Paint Your Dragon
3b1e2def00 Many bug fixes, esp. BMP file and triangle rendering 2012-03-06 11:56:32 -08:00
Ladyada
d1ae2c3f08 Merge branch 'master' of github.com:adafruit/ST7735-Library
Conflicts:
	Adafruit_ST7735.cpp
2012-01-29 13:45:34 -05: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.cpp (Browse further)