Quote Originally Posted by Megahertz View Post
P.S: I don't have any knowledge about USART, I am a product design student actually and try to learn programming because I find it very interesting. I will learn about USART soon and apply it to these codes. I hope I can make this code work using DEBUG for now.
Using the USART in PBP is not much different than using DEBUG or SERIN2, same syntax.
Look to the PBP manual under HSERIN for starters and at the bottom of this page is an example to play with.
http://www.melabs.com/resources/samples-pbp-general.htm
The hardest thing with the USART at the beginning is setting it up.
For that this is a handy tool
PicMultiCalc
http://www.picbasic.co.uk/forum/atta...achmentid=2957