Converting ASCII to character

Hey guys,

I’m using the Photon to read from SD card and the stuffs I’m reading out seem to be ASCII encrypted. Is there an easier way to convert the ASCII code to human readable characters, as the ones in my original txt file?

Thank you!!

if you’re using the SdFat library, you can use most of the Unix-style calls that take a char* buffer like:

int read(void* buf, size_t nbyte)

as well as functions like fgets. Those return strings in the more usable char* format than the int at time returned by read().