Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - sd card fp
Search - sd card fp - List

Date : 2025-07-16 Size : 1.53mb User :

有关于SD卡的音频部分!希望对大家有用!-SD cards have on the audio portion! Hope useful for everyone!
Date : 2025-07-16 Size : 1.53mb User : guangyin

这个是我调通的在2410下运行文件系统的程序. 用2410驱动sd卡来实现fat文件系统. 欢迎大家来测试. 用法很简单, 如下 FILE *fp // 文件指针 unsigned char temp[24]="3.wav" // 文件明需要放在数组里 while(!initialize_media()) // 初始化sd卡 { Uart_Printf("sd initializing....\n") } Uart_Printf("sd ready\n") fp=fopen(temp, READ) // 打开文件就可以用了, 函数和标准c中的一样,所以不能加载stdio.h if(!fp) { Uart_Printf("open file wrong\n") while(1) } Uart_Printf("open file successed\n") -This code for fat system under 2410, use a sd card
Date : 2025-07-16 Size : 28kb User : 罗德强
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.