Go Down

Topic: View images from SD card on TFT display (Read 1 time) previous topic - next topic

vile

#45
Nov 07, 2014, 03:25 pm Last Edit: Nov 07, 2014, 03:36 pm by vile
( SOLVED )

Hi all,

when I upload the example sketch to the DUE using the UTFT_tinyFAT with Arduino 1.5.7 and ImageConverter with a test.raw, I get only noise on my 7 inch screen (SSD1963).

The serial monitor says: "Can't access SD card. Do not reformat.
SD errorCode: 0XF,0X0"
The normal SD library -> CardInfo works as well as SdFat->SdInfo (but I have to manually pull the cs pin via MCP23017 down).

All my onboard I/Os are in use, so the chip select signal for the sd card comes from a MCP23017; may this be the issue? Is it set during operations in the library? When I simply pull it low it doesn't work...

I hope someone can help me :)


EDIT: SORRY FOR ALL THIS! It works! I don't know why, I just uploaded some sketches several times and suddenly (without any change!) I can now display a 800x480 image in 1021ms. Thanks for this great library!!

ghlawrence2000

Hi Vile,

1021ms? Is that a slow SD card? Because I got it down to about 815ms for 800x480 last time I checked... ;)

Regards,

G

Go Up