Sonsivri

Electronics => General Electronics => Topic started by: ppa88 on August 26, 2007, 03:02:16 15:02



Title: Test USART program in CCS tested in Proteus
Post by: ppa88 on August 26, 2007, 03:02:16 15:02
Here is  CCS code to test the USART of PIC 16f877 . Proteus simulation is also included. Works perfectly with Hyperterminal.

http://rapidshare.com/files/51395706/Test_USART_CCS.rar.html

To change the baudrate make necessary change to the following line :

spbrg  = 129;   // baud = 9600

depending on crystal frequency as indicated in data sheet of 16f877.


Title: Re: Test USART program in CCS tested in Proteus
Post by: pcgold on September 01, 2007, 06:46:29 06:46
thanks


Title: Re: Test USART program in CCS tested in Proteus
Post by: ppa88 on September 01, 2007, 06:55:46 06:55
You are welcome but please use the "THANKS" button henceforth, let us strive to obey the rules of this great forum.