• Reading SBUF
    unsigned char GetSerial =0; SCON = 0x50; /* SCON: mode 1, 8-bit UART, enable rcvr */ TMOD = 0x20; /* TMOD: timer 1, mode 2, 8-bit reload */ TH1 = 0xfd; /* TH1: reload value for 9600 baud */ TR1...
  • Reading SBUF
    unsigned char GetSerial =0; SCON = 0x50; /* SCON: mode 1, 8-bit UART, enable rcvr */ TMOD = 0x20; /* TMOD: timer 1, mode 2, 8-bit reload */ TH1 = 0xfd; /* TH1: reload value for 9600 baud */ TR1...
  • reading from sbuf
    This is for all of us who were facing problem of reading from sbuf.....keil does not show the value getting transferred from sbuf to variable but the code works when implemented on hardware....We were...
  • reading from sbuf
    This is for all of us who were facing problem of reading from sbuf.....keil does not show the value getting transferred from sbuf to variable but the code works when implemented on hardware....We were...
  • MCB900 reading SBUF problem
    Hi. I am having a little problem. I have my MCB900 evaluation board connected to a gsm modem via serial cable. I have wrote a simple program to send out the "AT" command to the modem from the eval...