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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/23/05 04:15
Read: times


 
#102777 - Missing TI = 0;
Responding to: ???'s previous message
Hello Ghulam,

Add the following line to your program. Run your program in Keil debugger with Port 0 showing (Peripherals,I/O-Ports,0) and serial port window open. Start your program in run mode. Select view Serial Window # 1. Any key you press on your keyboard will be displayed in the port 0 display.

   SCON = 0x52; 
	TI = 0;      // <==============ADD==========
	while(1) 


Regards,

Charles Bannister



List of 6 messages in thread
TopicAuthorDate
problem in serial communication            01/01/70 00:00      
   Missing info            01/01/70 00:00      
   Missing TI = 0;            01/01/70 00:00      
      Why TI = 0???            01/01/70 00:00      
   Better practice!            01/01/70 00:00      
   nothing much except the SCON 0x52 which            01/01/70 00:00      

Back to Subject List