Hi,
I have the 2.2 TFT display. I'm trying to read data from the display based on the data sheet at:
http://www.adafruit.com/products/797
I modified the code to do something like this:
writeCommand(HX8340B_N_RDDCOLMOD);
SPDR = 0;
while (!(SPSR & _BV(SPIF)));
byte value1 = SPDR; // SPI.transfer(0);
SPDR = 0;
while (!(SPSR & _BV(SPIF)));
byte value2 = SPDR; // SPI.transfer(0);
Which should read the two bytes from the RDDCOLMOD command (read the color mode).
However, I always get 0 back.
This has me wondering...is the TFT's SDO hooked up to MISO? Or, is the MISO output for the shield *only* for the microSD? I can't quite tell by looking at the board. Anyone know?
thanks
corbin

