This example uses the fatfs library from http://elm-chan.org/fsw/ff/00index_e.html.
SdCard.cpp uses the library, and diskio.cpp provides the functions called by the library to access Logan Nano's SD card
- Put a file "hallo.txt" with some text on an SD card, insert the card in the Longan Nano.
- Run the program which
- tries to read file "hallo.txt" and prints the content to the LCD screen
- tries to read file "hallo.neu" and prints the content to the LCD screen (will fail on first run)
- writes the file "hallo.neu"
- writes data to the file "hallo.data", reads the data back and compares it with the original data
- Press reset, to see the same results, but this time "hallo.new" will show some text