Commit Graph
51 Commits
Author SHA1 Message Date
Mikey Sklar bdd8a0f00b Merge pull request #82 from asukiaaa/feature/support-larger-type-for-pins
Use int16_t for pins instead of int8_t
2026-10-18 05:42:00 -07:00
caternuson 4b7aad6267 clang 2025-06-02 09:08:18 -07:00
caternuson bce4240ead update preproc for uno r4 2025-06-02 08:46:52 -07:00
Asuki Kono 9f6dd331e2 Add change line to adjust line length 2022-09-08 22:57:13 +09:00
Asuki Kono 240a43dd3b Use int16_t for pins instead of int8_t 2022-09-06 15:15:15 +09:00
Melissa LeBlanc-Williams 576e935d83 Merge branch 'master' of https://github.com/bitbank2/Adafruit_ILI9341 2022-06-02 14:52:14 -07:00
Kurt Eckhardt d2694821a3 Fix computation in scrollMargin
as per issue #62

The function does not work as the computation of middle was incorrect.
it either needed to be
 uint16_t middle = ILI9341_TFTHEIGHT - top - bottom;

or what I prefer and did:
uint16_t middle = ILI9341_TFTHEIGHT - (top + bottom);
2021-05-14 08:10:45 -07:00
Laurence Bank 86bc50a69e Reformatted with clang-format 2020-06-07 12:55:55 -04:00
Laurence Bank 7e17a48754 Optimized setAddrWindow() to only set the axis which changes 2020-06-06 18:47:46 -04:00
Lady Ada 3c5f34a9a6 clanged 2019-12-27 16:48:31 -05:00
Marc MERLIN ae2de968cb Improve default SPI speed for teensy 3.0|1|2 in addition to 3.5|6
tested on teensy 3.2, screenfill went down from 985817us to 537226us
2019-06-02 09:58:59 -07:00
Marc MERLIN 5e096fab2b Default to faster SPI for teensy 3.5/3.6
This brings screenfill down from 954115  to 416305.
It's still twice as slow as it should/can be, but better than the previous value which is slower than even software SPI
2019-06-01 23:33:09 -07:00
Melissa LeBlanc-Williams a442f95890 Fixed bitwise Ands 2019-06-01 12:46:58 -07:00
Melissa LeBlanc-Williams 1a4d9a5ebf Added setScrollMargins() function using sendCommand 2019-06-01 00:14:22 -07:00
Melissa LeBlanc-Williams c268f0c307 Fixed compiler warning for scrollTo() 2019-05-31 17:51:54 -07:00
Melissa LeBlanc-Williams 68a272d66e Implemented sendCommand 2019-05-10 16:45:41 -07:00
Phillip Burgess 75dadd6a1e Rollback old default SPI frequency behavior 2019-03-21 20:04:59 -07:00
Phillip Burgess 3ef27db3a0 Fix swapped arguments in parallel constructor 2019-03-14 21:39:53 -07:00
Phillip Burgess e242e17744 Appease the ESP8266 compiler 2019-03-02 17:31:09 -08:00
Phillip Burgess 0898561138 Add parallel constructor for PyPortal (requires Adafruit_GFX 1.4 or later) 2019-03-01 20:12:54 -08:00
Phillip Burgess 0330bdfd8f Adapted for SPITFT in latest Adafruit_GFX library 2018-08-10 23:25:27 -07:00
ladyada 0c1ab45b5a fix comment, enable caching 2018-07-14 13:52:11 -04:00
Limor "Ladyada" Fried 0005b1087d Merge pull request #35 from gsmaxim/feature/arduino_maxim
Feature/arduino maxim
2018-05-04 22:22:00 -04:00
ladyada 8a9721a74f d0xy 2018-05-04 21:56:02 -04:00
Phillip Burgess 1e1ef280d7 fix BMP-loading example 2018-05-04 16:03:40 -07:00
Greg Steiert 17d9cb96c4 changed default SPI frequency for Maxim boards 2018-03-21 09:12:17 -07:00
Phillip Burgess a8226e3313 Color drawBitmap() now drawRGBBitmap() a la Adafruit-GFX 2017-05-06 12:10:42 -07:00
Phillip Burgess 93a20868f8 Add clipping to drawBitmap(), smaller pictureEmbed example, minor init & formatting fixes, bump version 2017-03-26 13:05:32 -07:00
Marc MERLIN 43fb49faf7 Better definitino of ScrollTo. 2017-03-22 18:26:10 -07:00
Marc MERLIN 63e77c01dc Added drawBitmap and demos to display bitmaps. 2017-03-22 18:20:10 -07:00
Phillip Burgess 6808859f4b Fix top/left clipping in rect fill 2017-03-21 14:12:01 -07:00
ladyada ea9632fd4b readd pushcolor 2017-03-17 20:45:30 -04:00
me-no-dev e893fcacc8 Fix scrollTo
Thanks @marcmerlin
2017-03-05 19:54:58 +02:00
me-no-dev ed5903dceb Fix typo and reorganize SPI init 2017-03-01 00:09:02 +02:00
me-no-dev b5d388f94e init correct SPI for ESP32 2017-02-28 22:45:07 +02:00
me-no-dev d30843f039 fix spacing 2017-02-28 22:26:33 +02:00
me-no-dev 628b3c78b2 Restructure the driver to support transactions better
Just about everything is rewritten to support transactions and do less
calculations and pin changes. Except with bitbang, where the
performance is on par, improvement is seen across the boards on SPI
(including AVR). Concurrent with the driver is an updated GFX library
to implement the optimized methods and give the highest score.
Both libs are 100% compatible and interchangeable with their original
variants.
2017-02-23 03:09:19 +02:00
ladyada db86c639d2 nrf52 test 2016-12-05 00:03:03 -05:00
ladyada 51934bde72 ESP32 2016-11-12 01:04:55 -05:00
ladyada 9c83064ed4 add stm32 feather support 2016-09-24 15:43:19 -04:00
driverblock db671fa844 Add support for Arduino 101
Note - 101 won’t run with spi clock at 24000000.  Had to reduce it to
16000000
2016-02-17 15:51:23 -05:00
ladyada 08167ad874 prelim esp8266 support - tested working, try CS on #4 and DC on pin #5 2016-02-07 23:24:22 -05:00
ladyada f50c6e44f6 totally forgot about those debug lines! 2015-09-22 17:24:03 -04:00
ladyada 3364849717 Merge branch 'master' into Branch_df4480aa6477271887293f299a1c16e80c50f188
Conflicts:
	Adafruit_ILI9341.cpp
2015-09-22 17:15:04 -04:00
ladyada 81a6b3633b works with zero & atmega328 2015-09-22 17:13:34 -04:00
ladyada 4d8bcc088e zero works! 2015-09-22 15:58:22 -04:00
Tony DiCola 9d3532a6b8 pgmspace.h location fix for ESP8266 2015-07-07 21:59:51 -07:00
PaulStoffregen 7f5ae436b7 Use SPI transactions if SPI library supports them 2014-07-20 13:24:58 -07:00
PaulStoffregen 3d454cb950 Support Teensy 3.x & fix null pointer write 2014-07-19 19:14:02 -07:00
driverblock a99cabe152 Updated to work with Arduino Due
Changes to support Arduino Due
2014-02-01 13:56:45 -05:00