Hackster is hosting Impact Spotlights: Industrial Automation. Watch the stream live on Thursday!Hackster is hosting Impact Spotlights: Industrial Automation. Stream on Thursday!
Daphne
Published © GPL3+

FatfsSDIO - Creating Folder

FatFs is a generic FAT/exFAT file system module for small embedded systems.

BeginnerFull instructions provided30 minutes68
FatfsSDIO - Creating Folder

Things used in this project

Hardware components

RTL8722DM_MINI
×1

Software apps and online services

Arduino IDE
Arduino IDE

Story

Read more

Schematics

Setup

Insert a MicroSD card into the onboard SD card reader of RTL8722DM MINI board.

Open the example, “Files” -> “Examples” -> “AmebaFatfsSDIO” -> “create_folder”.

Programming

Upload the code and press the reset button on Ameba once the upload is finished.
In the sample code, we first create a folder “testdir”, then text file “test.txt” with content “hello world!”. Read the file and print content to serial monitor.

Final Result

Next, insert SD card into card reader, and check whether the operations succeeded.

Credits

Daphne
12 projects • 1 follower
Always ready to learn something new...
Contact

Comments

Please log in or sign up to comment.