|
Re: IR signals inverted
is it possible you redefined the port in your code somewhere to make the pin an output instead of an input?
is it possible you connected something to the pin that you shouldnt have, like 12V, and blew out the input circuit for that pin?
I would look up how to connect a simple switch to the port (in the RC reference manual) and try reading the port that way - you cant get any simpler than a switch - if the pin is blown out, and you dont need to use all your input pins, then use another one.
|