摘要: FATFS 的几个函数用法:FATFS *fs, fatfs;fs = &fatfs;f_mount(0, fs);b = f_open(&infile,"SD.txt",FA_CREATE_NEW); //创建新文件f_close(&infile); //关闭文件b = f_open(&infile,"SD.txt", FA_WRITE); //以写方式打开文件f_puts((char *)buff2,&infile); //文件内写入字符串f_puts((char *)b 阅读全文
posted @ 2011-02-08 23:20 xidongs 阅读(12792) 评论(0) 推荐(0) 编辑