Hello Languer,


Thanks Languer and Melanie again..


Languer >>I would try Melanie's trick for a quick sanity check. But aren't you setting the PortA.1 to 0 in various places.

PORTA = $08
PORTA = 0<<

Yes, We wanted to make darn sure the PortA.0 is actually a value of Zero.

We aslo ran into a problem a while back (a few months for a guess), of Port and and its assignment. If we assigned the entire port a to a value, our program worked, but if we assigned just the pin, it would not work. We never did figure that one out <g>... So we tried assigning the port a two different ways and intermixing them <chucke>... That is why you see the entire porta assigned a hex value, and the port a.0 a off/low switch.

I guess you can say we were grasping for straws <g>. I think we will try melanies suggestion again, but do it with totally new code. Since there really isn't much in the code anyhow! <g>.


Languer>>
One more thing, since you're not using interrupts but are sampling the input (if it turns out to be an input) you could have a case where the sampling is synchronized to zeros on your serial input. I explain myself, if both TX and RX are at the same rate there is a chance this may happen. If the TX is running much faster than the RX there is a better chance this will happen (actually you have less of a chance of properly sampling on the clock edge, but that's a different story).<<

Thanks!... We have'n't got it to go past that edge (or into that area yet <g>. But this is a good thing to keep in mind.

Dwayne