seyed mohsen hoseini
Newbie level 4
- Joined
- Dec 24, 2014
- Messages
- 6
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 31
Hi All,
I got to play "mp3" files, but the format "wav" or "wma" I can not play.
The pin VS1003B_DREQ is always active.
micro : atmega8
mmc lib: pff.h
I got to play "mp3" files, but the format "wav" or "wma" I can not play.
Code:
while(count<512)
{
if((VS1003B_PIN & (1<<VS1003B_DREQ))!=0 ) //send data honoring DREQ
{
for(j=0;j<32;j++) //32 Bytes each time
{
VS1003B_WriteDAT(buffer[count]);
count++;
}
}
}
pf_read(buffer,512, &s1);
count=0;
}
The pin VS1003B_DREQ is always active.
micro : atmega8
mmc lib: pff.h