reading information from sd card

victorfb:
they are separated by commas. but how can I do that, is there a code or command to do that?

There are various approaches open to you, but the simplest one is to read the file character by character. If the character is not a comma, append it to a char array buffer. If it is a comma, parse the content of the buffer to a number and clear the buffer. This will give you a sequence of numbers read from the file. I assume you know what to do with the numbers from there on.

1 Like