hey, my code is working great, but I have been running into some problems with noise. I geuss I should state the problem first. I am trying to get both input and output working on about a 1 foot long straight (four wires untwisted parrallel) serial cable to a PC. it worked ok before when I was just using on line and a ground, but now that I have input and output lines going to the pc, I get noise on the other line everytime I use the serout command from the pic. tried using 10k pulldowns (not being sure about the connection on that I ran 10k from data line to ground and the unused in from the pc as well). that didn't work. then I tried a 10 mf electrolytic on the unused line with neg side going to ground. this worked but it didn't quite seem kosher to be putting a 10mf electrolytic on a line of this sort, especially going to a PC serial line.

is there perhaps a post here with few help hints and some schematics showing how to reduce noise on straight cabling? I been looking for quite some time for some info to glean.

also worth noting, when I ran this pic (16f690).. just on the protoboard with intosc and nothing but power, I got no noise, so it is the parrallel capacitance of those wires doing it. recon I could try some cat5 I have lying around.. would be interested in all things noise reduction however.

I added an xtal btw. specs say +- 1 but in the area of millions of cycles per second, that could be a deal breaker.

thanks for any help. thanks for the help you allready gave me.