i am working reading sd card data using atmega328, and i am trying to play the hex value of wav audio data that are in sd card.
not sure why it didn't play the audio. the only that i heared is a trash of sounds. here is my code.
for(j = 0; j < 4521984; j++)
{
PORTD = block_address[i * 16 + j];
_delay_us(125);
if(j >= 4521984){
j=0;
}
}
i am using r2r circuit for dac.
any idea?