1.)
I'm looking for a touch screen which works with leonardo. It would be nice if it also supports SD cards. I ask because the displays I found mention that the don't work with leonardo.
2.)
Can anyone pls explain why most touch screens don't support leonardo?
I have not been able to locate a single display that works out of the box.
why?
Most of the tft and sdcard use spi
"SPI: on the ICSP header. These pins support SPI communication using the SPI library. Note that the SPI pins are not connected to any of the digital I/O pins as they are on the Uno, They are only available on the ICSP connector. This means that if you have a shield that uses SPI, but does NOT have a 6-pin ICSP connector that connects to the Leonardo's 6-pin ICSP header, the shield will not work."
then the code is often greased to work more quickly(using port register access) . port registers differ depending on board version.
the seeedstudio 2.8 v1 tft uses the same controller chip(SPFD5408A) on the tft as the one you bought and is a pain to work with as it also uses data pins(too many pin for me).
i am remapping the seeed studio example to a Leonardo. I have not mangled it into working yet. IF progress is made i will post an update.
4d systems display board seems to be a good candidate as they only use spi communication and two digital io to select tft or sdcard.
moving the shields d13 and d11 to the corresponding icsp connections might just work.
they also do not use any port registers in the provided library example.
anyone find a TFT shield with the icsp on it? might work out of the box.
what does the code you are using look like?
"my leo is for a programmable keyboard to set date time and defaults, also have it set up to work via bluetooth from my phone, now i want a local display for ease of use."
/*
Picaso Display
*/
/*
// uncomment if using alternate tx/rx pins
#include <SoftwareSerial.h>
#define DisplaySerial SerialSoft
SoftwareSerial DisplaySerial(5,6);
*/
// uncomment if using uno with standard tx/rx pins
//#define DisplaySerial Serial
// uncomment if using leonardo
//#define DisplaySerial Serial1