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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/30/07 08:54
Read: times


 
#140035 - I am Receiving Garbage Data By Using Heper Termina
I writ following programme for 8051 . It Should send A-Z ASCI
CHARACTER but on heper Terminal I am receiving Garbage Data. Can Any Body tell me what is the problem.
enggshafi@yahoo.com

#include <AT89X51.H>
void main(void)
{
unsigned char ch=0x41;
int i;
TMOD=0X20;// 8 bit auto reload mode
TH1=253;// Baud Rate 9600
SM0=0;// 8 BIT VARIABLE BAUD RATE
SM1=1;

SBUF=0X00;



TR1=1;
while(1)
{

for(i=0;i<27;i++)
{
SBUF=ch;
if(TI==0)
{ }

ch=ch+1;
T1=0;
}
ch=0x41;
}

List of 6 messages in thread
TopicAuthorDate
I am Receiving Garbage Data By Using Heper Termina            01/01/70 00:00      
   the error... and more details            01/01/70 00:00      
      could be right            01/01/70 00:00      
         Clock frequency            01/01/70 00:00      
            do not depart the forum            01/01/70 00:00      
   @Garbage Data By Using Heper Termina            01/01/70 00:00      

Back to Subject List