Development

Examples:

General / SD

» SD 01: Create/delete SD file

Last edition: Jan 10th, 2017 |

This example shows how to turn on the SD card. Delete an specified filename. In the case it exists, the first loop creates the file, but the following loops will not because the file already exists.

» SD 02: Write file

Last edition: Jan 10th, 2017 |

This example shows how to turn on the SD card. Write data in SD file indicating the position to write.

» SD 04: Read file

Last edition: Jan 10th, 2017 |

This example shows how to turn on the SD card. Append data at the end of the SD file and then how to read it.

» SD 05: Create/delete directories

Last edition: Jan 10th, 2017 |

This example shows how to turn on the SD card. Firstly, delete all folder and all contained files. Secondly, create all directories specified in path. Finally, create files inside each subfolder and show the created directories and files. The rest of the program is an infinite loop which does nothing

» SD 06: List files

Last edition: Jan 10th, 2017 |

This example shows how to turn on the SD card. Firstly, delete all folder and all contained files. Secondly, create all directories specified in path. Finally, create files inside each subfolder and show the created directories and files. The rest of the program shows how to list the directories in several ways.

» SD 07: Datalogger

Last edition: Jan 10th, 2017 |

This example shows how to store formatted frames in SD file using the Data Frame class. Besides, it shows how to get these frames from the file and get them ready to be sent.

» SD 08: Change directories

Last edition: Jan 10th, 2017 |

This example shows how to turn on the SD card. Move from one to another directory in order to manage files directly in each folder instead of using complete paths.

» SD 09: IndexOf pattern

Last edition: Jan 10th, 2017 |

This example shows how to turn on the SD card. Write a file with some lines. Then show how to find patterns inside the file.

» SD 12: Format SD

Last edition: Jan 10th, 2017 |

Turn on the SD card. Format SD card. erasing all data and formatting the SD card as FAT16. This example is based on the William Greiman's SdFat library and examples: http://code.google.com/p/sdfatlib

» SD 13: SD card menu

Last edition: Jan 10th, 2017 |

Turn on the SD card. Delete specified filename in the case it exists. The first loop creates the file, but the following loops will not because the file already exists.