Thanks for the reply. THe code which I edited in the SdFatRead Example is
uint8_t buf;// nothing special about 7, just a lucky number.
while ((n = file.read(buf, sizeof(buf))) > 0)
for(uint8_t i=0;i < n;i++)
msg = (char)buf[i];
I am trying to read the file contents , convert them to char type from uint8_t type.
The file which I am trying to read from SD card is the GPSLOG00.TXT . the file contains GPS sentences logged into a text file from GPS.
The contents are
When I uploaded the code , The serial monitor contents are,
The contents in the serial monitor are of different format [ I think its of HEX type]
and the full contents are also not fully converted and displayed in the serial monitor. Please help me out and tell me where I made wrong in the code. I also need to convert the full contents into char, since the log file is very huge.
Thanks in advance