hi frends, i m using usart module in my project. to varify that usart is working or not i wrote a simple code which is
LOOP: IF PORTC.7=0 THEN REC
GOTO LOOP
REC: PORTB=$00
PORTA=$00
PORTA=$3F
PAUSE 2000
SERIN PORTC.7,T9600,[0],B0
J1=B0
PORTB=J1
SEROUT PORTC.6,T9600,[J1]
GOTO LOOP
i m usnig teminator software wich transmits n receives data serialy,i m using pic16f876.i m nt able to receive n transmitt properly.data comes till rc7 pin bt isnt getting stored or transmitted.wht shld i do.please kindly reply i m stuck n i cnt go further,i hv my deadline to submit the project very near.
thankin in anticipation. luv,parin


 
		
		 
						
					 usart not workin
 usart not workin
		 
			 
			 
			 
					
					 thanks
 thanks
		 Originally Posted by Melanie
 Originally Posted by Melanie
					
				

Bookmarks