Hardware Reference
In-Depth Information
If you receive errors, make sure that your shield is plugged in, that the SD
card is inserted fully, and that the card has been properly formatted. You can
confirm that the data is being written correctly by removing the SD card, insert-
ing it into your computer, and opening it up with a spreadsheet program (see
FigureĀ 13-15). Note how the comma-separated data is automatically placed into
rows and columns based on the location of the delimiting commas and newlines.
Figure 13-15: Logged data in a spreadsheet
ReadingfromanSDCard
Now it's time to learn about reading from SD cards. This is not used quite as
commonly for data logging, but it can prove useful for setting program param-
eters. For instance, you could specify how frequently you want data to be logged.
That's what you do next.
Search WWH ::




Custom Search