Hi Mackrackit,
Im using a 16f628a and it looks like the code is for a 16F877a or something because it uses port C 6 and 7 for rx and tx. anyway I got something working. it turns out that on a easypic7 when using a 16f pic I needed to use the 18B socket. so once I got the right socket everything started working. thanks.
Regards
CharlieM
Using PBP3
MCSPX
Look at the Datasheets. 16F877 uses C6 and C7 as you say, but the 16F628 used B1 RX and B2 TX
the only thing that I can see needs changing from a quick glance is the line....
TRISC = %10111111
to
TRISB = %11111011
Keith
www.diyha.co.uk
www.kat5.tv
Bookmarks