Hi, I have an SD Card shield with a text file on it.
When I read the text it works great other than with certain characters such as ' ( ) etc.
When i read those characters and send them to the serial monitor I get a ��� 3 character sequence like this.
So that the word "I'll" look like this "I���ll"
Here is a code snippet.
Thanks.
Phil
#include <SPI.h>
#include <SD.h>
File myFile;
char mydata;
void setup() {
Serial.begin(9600);
SD.begin(10); // initialise the SD card
myFile = SD.open("chad.txt");
while (myFile.available()) {
mydata = (myFile.read());
Serial.write(mydata);
}
myFile.close();
} // setup
void loop() {
}//end loop