Hi everyone,
having some trouble with reading a semi-colon separated excel file into an array. I'm not very familiar with the SD library. The file I want to read is saved on the SD card as "transform.csv" and below is an excerpt from it:
How would I separate the floating-point numbers and save them into an array?
Read the file character by character, putting each one you read into an array of chars until you read a semi-colon then add a '\0' to the end of the array to terminate the string. Convert the array of chars into a float using the atof() function and put the result in your target array, but expect to lose some precision in doing so. Keep doing this until you reach the end of the file.
The SD library comes with examples of reading from the SD card.
An array of 512 floats is going to take a lot of memory. Which Arduino are you planning to use ?