This post has code for the 16F628 which uses the hardware UART
and just echoes back any character that it receives. To use this
code for your PIC, just change the #include file to 16F628A.H.
http://www.ccsinfo.com/forum/viewtopic.php?t=25130&start=2
domdom
Joined: 06 Sep 2006 Posts: 29
Posted: Fri Feb 09, 2007 9:56 pm
But he is asking c code for PICs communication
Ttelmah Guest
Posted: Sat Feb 10, 2007 6:08 am
There is no difference.....
All you need is the RX on one chip connected to the TX on the other (and vice versa).
Best Wishes
ckielstra
Joined: 18 Mar 2004 Posts: 3680 Location: The Netherlands
Posted: Sat Feb 10, 2007 7:09 am
Please, don't respond to 5 months old threads, especially as the original poster didn't seem to have a problem with the given answer.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum