thank you PaulS for your reply!
The return statement ends the getFile() function, which causes reading to stop.
So if i want to read the whole file, I cannot use return? Could you explain how " char a = myFile.read(); " works? In a learning example, I used " Serial.write(myFile.read()); " to print out the entire content of a file, whereas here i am only getting one character. how is it these two statements yield different results? In my mind, it seems that " char a = myFile.read(); " should read the entire file into char a...
..... Hmm .. I just read up on the char data type and i don't think it is appropriate at all if I want to read out 100+ temperature readings. So i'll try a string then (or is it String?).