Quote Originally Posted by joseph View Post
RA7 won't be an input until i independently configured it as an input so i placed this line
Code:
INPUT neut
Did you notice IF you want Porta.7 as an input ... the TRIS value must be > 127 ???

here you have 95 ... tadaaaa ...

this works, but for some reason instead of revers/portb.0 going steady high when the input condition rules i got some oscillations, the led connected on this on my simulation blinks
no reason for that ... simulators are just toys , so do not believe what they say ...
may be you could add some debouncing to your inputs ... but simulation won't show anything.

Alain