arduino-libraries / TFT

TFT Library for Arduino
http://arduino.cc/
GNU Lesser General Public License v2.1
56 stars 41 forks source link

Hardware-SPI libs for TFT displays as a substitute for UTFT? #4

Open agdl opened 8 years ago

agdl commented 8 years ago

From @shiftleftplusone on July 14, 2015 19:52

would it be possible to add Hardware-SPI libs for TFT displays, working also with the Due ? I'm using Henning Karlsen UTFT libs so far, but unfortunately they don't work on the SPI-Header simultaneously with Hardware-SPI device libs, e.g. < SD.h>.

E.g., without a SD card on the bus I can even configure and assign the SPI pins (on Mega: 50-52, on Due: 74-76) but as soon as I'm adding a SD card to the bus the TFT don't work any more (by having different CS pins of course, e.g., CS_SD=38, CS_TFT=49 or what ever).

So I always have to use extra different MISO and SCK pins for TFT and SD which finally wastes pins unnecessarily.

Copied from original issue: arduino/Arduino#3526

agdl commented 8 years ago

From @shiftleftplusone on July 17, 2015 7:4

ps, this is one of the TFT displays which actually don't work with additional hardware SPI devices on the SPI header: http://www.mindstormsforum.de/viewtopic.php?f=78&t=8491#p66123