I'm trying to parse text file placed on sd card. In the file I have sample voltage values which I want to copy to DMA buffer, but I don't know how to parse these values. Is there any parse function which I can use?
My text file looks like this:
0x0
0x33
0x66
0x99
0xCC
0xFF ...
I have read the file using:
FS_ReadFile(&file_info, (u8 *)TextBuffer, &i, sizeof(TextBuffer));