I am finally getting around to playing with my SainSmart 2560 3.2" TFT unit. The display and button stuff works great. The SD card functionality - not so much (yet).
Here's a doc by SainSmart that I am starting with: Quickstart PDF
Page 1 gives a dropbox link to a collection of libraries which I D/L'ed and seem to have installed fine. (i.e. ITDB02_Touch, UTFT, UTFT_Buttons_ITDB, UTFT_SdRaw, and an images folder Image-files). I have checked and SdStream is not part of UTFT_SdRaw.
First try at compiling the example from page 6 of the quickstart pdf produced :
SdRaw_320x240.ino:4:19: fatal error: SdFat.h: No such file or directory
The include section at the top of the SdRaw_320x240.ino file reads :
#include <SPI.h>
// SdFat lib from here :-
// https://github.com/greiman/SdFat/archive/master.zip
#include <SdFat.h>
#include <SdStream.h>
#include <UTFT.h>
#include <ITDB02_Touch.h>
#include <UTFT_Buttons_ITDB.h>
#include <UTFT_SdRaw.h>
When I paste that URL into the address bar it offers to let me D/L "SdFat-master.zip" (notice it's not just master.zip). I D/L'ed the file SdFat-master.zip which contained several folders of "extras" and documentation and one library folder SdFat. I copied that into the libraries directory and arduino (1.6.4) recognizes it just fine. Now when I compile I get :
SdRaw_320x240.ino:5:22: fatal error: SdStream.h: No such file or directory
This is where I'm stuck. I have spent an hour with my friend Google and everything seems to say SdStream is part of SdFat. I have searched through the readme and changes files on the SdFat github site and there is no mention of it. I do see that there is a branch associated with the SdFat project but I'm a bit lost on how I go back to the "pre-fork" version.
Suggestions?
TIA