Limor "Ladyada" Fried
6abf693056
Actionsci2 ( #264 )
...
add library dependancy
remove travis CI
update badge
enable Actions
2019-12-27 17:10:08 -05:00
Henry Gabryjelski
6d513193e6
Fix two compiler warnings. ( #259 )
...
* Fix compiler warning [-Wunused-const-variable=]
Compiling a sketches that uses this library can report a warning
about the const variable `font` being defined, but never used.
Work around this by defining a (static inline) function which
references the variable.
* Remove unused variable (compiler warning)
2019-12-20 15:16:24 -05:00
Melissa LeBlanc-Williams
70950e3d3b
Added removed sendCommand overload to fix rotation
2019-12-19 11:20:06 -08:00
Melissa LeBlanc-Williams
181591a14d
Fixing issue with 8-bit procs not working
2019-12-18 14:50:46 -08:00
Paint Your Dragon
3447387cc7
Add 16-bit read/write commands for NT35510 display lib ( #254 )
...
* Add 16-bit read/write commands for NT35510 display lib
* Fix readcommand16()
2019-12-07 18:41:19 -05:00
ladyada
1b91a1705f
fix SAMD21 definition and turn on DMA for CPX (gizmo is big) - tested with ST7789 gizmo
2019-10-18 12:12:04 -04:00
ladyada
8596d46bce
since now we have SPI DMA for nrf, we need to add some more #define's
2019-10-17 15:05:39 -04:00
hathach
c4e7aea568
better use nrf spi with dma for drawing pixels with nrf52840 ( #248 )
...
* better use nrf spi with dma
* only use spim dma API with 52840
2019-10-17 14:22:54 -04:00
Ladyada
e3073d243f
add ability to change SPI speed after init
2019-09-13 00:10:35 -04:00
Ruben van Leeuwen
bb020872cd
Replaced the "GFX DMA IS ENABLED" pragma message ( #238 )
...
* Update Adafruit_SPITFT.cpp
* Update Adafruit_SPITFT.h
2019-07-18 12:39:49 -04:00
prenticedavid
13aaca5da1
conditional AVR macro for TFT_HARD_SPI
2019-07-03 00:58:23 +01:00
KurtE
0e92646066
Teensy T4.0 support ( #232 )
...
The Teensy T4 (__IMXRT1062__) port registers need to be 32 bits unlike the Teensy 3.x which are 8 bits.
adafruit_ili9341 and adafruit_st7735 libraries graphic test
Removed compiler warning
that PROGMEM was previously defined. So undefine it first...
Note: Thought of simply doing nothing here
(do neither the #undef nor the #define).
But that gives compiler error
Teensy T4 - Make Bit Bang version work.
With T4, the Port/Set registers are masks not single value.
So need to setup those class variables:
Also found that bitbang of T4, was too fast for display, so put in same slow
down that ESP32 has, which gets the clock down to mayby 12.5mhz
Tried these changes out with both:
adafruit_ili9341 and adafruit_st7735 libraries graphic test
Update comments
2019-06-27 17:50:37 -04:00
Phillip Burgess
7214a0452d
Appease the Travis
2019-05-29 20:42:31 -07:00
Phillip Burgess
a103ad28a2
Restore hwspi._mode at the end of all DMA transfers
2019-05-17 23:32:23 -07:00
Phillip Burgess
5fa33d0020
Add hooks for SPI data mode
2019-05-17 22:25:09 -07:00
Melissa LeBlanc-Williams
c555f0b217
Fixed paramter name for doxygen
2019-05-10 15:21:53 -07:00
Melissa LeBlanc-Williams
30e45c9825
Added readcommand8 to GFX
2019-05-10 15:05:33 -07:00
Phillip Burgess
0f3f657f43
SPITFT: ESP8266 fix
2019-05-03 13:59:22 -07:00
Phillip Burgess
a453d081b4
SPITFT: work with any SERCOM SPIs
2019-05-03 11:36:29 -07:00
ladyada
a2a0335f90
Merge branch 'master' of github.com:adafruit/Adafruit-GFX-Library
2019-04-27 16:49:21 -04:00
ladyada
1b033808ab
turns out having two things named tft8 makes subclassing very :(
2019-04-27 16:49:15 -04:00
Phillip Burgess
e83e3ce2f1
SPI DMA: add support for SERCOM6 & 7 on big M4 chips
2019-04-21 18:43:05 -07:00
Melissa LeBlanc-Williams
35055667c4
added the sendCommand function ( #209 )
...
* Added sendCommand for SPI abstraction
2019-04-13 17:56:36 -04:00
Phillip Burgess
b57ea574fe
Fix big-endian DMA
2019-03-25 22:47:36 -07:00
Phillip Burgess
605474e3ca
Add bigEndian flag to writePixels()
2019-03-23 18:13:55 -07:00
Phillip Burgess
5f38af166f
Don’t use DMA on very short pixel runs
2019-03-18 22:04:36 -07:00
Phillip Burgess
026c152d45
Conditional compile SAMD51 parallel code
2019-03-17 19:43:48 -07:00
Phillip Burgess
1bd0463d15
Add non-blocking DMA option in writePixels()
2019-03-17 18:15:27 -07:00
Phillip Burgess
b8fd9b4366
Change transaction & CS ordering
2019-03-16 14:57:09 -07:00
Phillip Burgess
efe87d81ef
Tiny bit faster using if/else/else instead of switch
2019-03-15 20:08:23 -07:00
Phillip Burgess
6704269c77
Parallel DMA working on PyPortal
2019-03-14 22:09:42 -07:00
Phillip Burgess
cadfd0a233
WIP parallel DMA, do not use yet
2019-03-14 21:27:48 -07:00
Phillip Burgess
054d3bae53
Appease the ESP8266 compiler
2019-03-02 17:29:20 -08:00
Phillip Burgess
c6dba9b94a
More Doxygen happiness
2019-03-01 20:05:15 -08:00
Phillip Burgess
4abba955a7
Doxygen cleanup
2019-03-01 19:51:40 -08:00
Phillip Burgess
030427ebe5
WIP fix for non-ESP32 boards
2019-03-01 18:54:34 -08:00
Phillip Burgess
fec8f5b9d0
WIP ESP32 soft SPI fix
2019-03-01 17:16:08 -08:00
Phillip Burgess
3aafb3d2cf
WIP fixes for Teensy 3.2
2019-03-01 15:31:16 -08:00
Phillip Burgess
d81e3351f3
Fix some ESP8266 batshittery
2019-03-01 13:38:18 -08:00
Phillip Burgess
31f0de1eca
WIP soft SPI read fixed
2019-03-01 10:37:21 -08:00
Phillip Burgess
0107025e4c
WIP, constructor disambiguation via enum
2019-03-01 10:16:15 -08:00
Phillip Burgess
cb8c433a61
Doxygen tidying
2019-02-28 17:27:58 -08:00
Phillip Burgess
a295138e10
WIP starting to improve
2019-02-28 17:09:14 -08:00
Phillip Burgess
fc0f1a739d
WIP still not good
2019-02-28 16:41:56 -08:00
Phillip Burgess
87af85ff61
Problems still, don't use
2019-02-27 11:15:27 -08:00
Phillip Burgess
6b5e177fb1
WIP do not use yet!
2019-02-26 21:35:12 -08:00
Phillip Burgess
25b3d5e4a3
Add TFT8 class
2019-01-31 15:17:08 -08:00
Phillip Burgess
7b04012eaf
Move 0-length check to outside of DMA-specific code
2018-12-10 13:07:43 -08:00
Phillip Burgess
c21979066c
Similar change in writePixels()
2018-12-10 10:58:59 -08:00
Phillip Burgess
e1671798db
Fix ESP32 stuff
2018-12-09 21:35:49 -08:00