Improt CSV file in Arduino


I am a new in Arduino and wondering how to import a CSV file to use the arrays in it.

It would be great to have your help.


I don't understand the question; what do you mean by:

to use the arrays in it

But I'm sure you could easily read a csv file off an SD card say, using the comma to separate the fields and the line end to separate the records.

Have a look at #11 here, which says it's " an example that reads a CSV file into an array with any number of columns/rows".

(Disclaimer: I haven't tried it and simply pointing you at it, ymmv)

For parsing CSV data have a look at the parse example in Serial Input Basics - simple reliable non-blocking ways to receive data.