Rickooo
Member level 3
Hi,Hi,
I´ve tried but failed to explain.
Sadly I´m not patient enough to go on.
I really hope that others can explain more clearly and have more patience.
Klaus
I got the value display on monitor using :;
void UART_Write_Ascii(char data){
char buf[5];
unsigned char i;
sprintf(buf,"%x",data);
i = 0;
while (buf!='\0')
{ while(!PIR1bits.TXIF);
TXREG = buf[i++];
}
}
But still not getting 0x01 as response. I am getting 0 as response.
--- Updated ---
I really have no idea why I am not getting 0x01 response. I have invested 15+ days on only sdcard initializing. I am attaching a project. If any of the experienced one can tell me my silly mistake, than I am eager to learn it. I also attached a proteus file. Please find.
Attachments
Last edited: