Go Down

Topic: writing to array in SD card (Read 425 times) previous topic - next topic

cobmetal

HI ,
im connected the SD shield to the arduino due , i've checked it using CardInfo example , and it seems that everything is OK.
Now , i want to use the analogread , to sample and save data into array in the SD card , how can i do it ?

PaulS

Quote
Now , i want to use the analogread , to sample and save data into array in the SD card , how can i do it ?
You can't. An array is a consecutive group of memory addresses. There is no such concept on an SD card.

You can write the data to consecutive RECORDS on the SD card.
The art of getting good answers lies in asking good questions.

Go Up