博文

目前显示的是 十月, 2017的博文

18.Arduino learning notebook-- SD card reading and writing experiment

图片
18.Arduino learning notebook-- SD card reading and writing experiment
Juvtmall ( a company supply PCB PrototypingPCBA service and sell kinds of components, modules and so on) ( Catduino has the same function of Arduino)

This time I use arduino to drive SD card, read and write in SD card. It is necessary to note that the SD library file of arduino is not very good for 2G or over 2G, so it is recommended that you use 2G or below 2G, and the file format is in FAT. This time I use the MicroSD card of kingmax2G.


Look at the hardware connection diagram





Download the following code into arduino board ARDUINO CODE
1. / * 2.