I’m trying to write some text to a sdcard with the Navspark adaptor board. With my Navspark GPS I tried to run this example code:
Compiling and uploading works fine, but when I run it nothing is written to the sdcard.
After some quick debugging I’ve noticed the code crashes when it tries to make a folder on the sdcard:
- FRESULT res = fatFsAgent.make_dir(folderName);
I’ve connected al the pins of the adaptor board directly to the Navspark.
Does somebody have an idea what goes wrong?