Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/18/08 15:14
Read: times


 
#160112 - more specified
Responding to: ???'s previous message

i m using 12 MHz crystal oscillator and baud rate as 9600. i tested till the microcontroller tranciever pins. it is repeating the letter in given form.

but the program is not working.

#include<reg51.h>
void main()
{
tmod=0x20;
th1=0xfd;
scon=0x50;
tr1=1;

while(1)
{
sbuf='J';
while(ti==0);
ti=0;
}


List of 8 messages in thread
TopicAuthorDate
about serial communication problem            01/01/70 00:00      
   be more specific            01/01/70 00:00      
      check baudrate            01/01/70 00:00      
   Loopback?            01/01/70 00:00      
   more specified            01/01/70 00:00      
      Just Exactly what do you mean by "not working"?            01/01/70 00:00      
      SIO init possibly wrong            01/01/70 00:00      
   UART and PC hyper terminal            01/01/70 00:00      

Back to Subject List