Ive tried to move data from Sbuf to Acc..... Ive tried using this code... whil;e debuggin the code ive used the serial window to pass data.... my main aim is to compare data that i recieve from the Rxd pin with memory
#include<stdio.h> #include<reg51f.h>
unsigned char c ;
char getchar() { while( RI != 0 ) { c = SBUF; RI = 0; } return(c); }
void main() { unsigned char b; b = getchar(); //printf("%c",&b );
B = b; }
ive also tried using _getkey().. and getchar directly.
yes i have same problem last time and got error.
when you have the answer pleaze post for him and error can be removed from file.
with c i said acc can error for others.