-
1Setup
Insert a MicroSD card into the onboard SD card reader pf RTL8722DM_MINI board
-
2Programming
The programming of the Ameba RTL8722DM can be done using Arduino IDE which makes it very easy to write code and upload code to the Ameba Board.
Open the code in “Files” -> “Examples” -> “AmebaFatfsSDIO” -> “file_get_file_attribute”.
-
3Final Results
Verify and upload the code. Press the reset button on Ameba once the uploading is complete.
In the sample code, system will print put all file attribute to serial monitor.
Next, insert SD card into card reader, and check whether the operations succeeded. In this case, we already know the attribute should be folder “testdir” and text file “test.txt”by refer the above pictures.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.