
Originally Posted by
joseph
RA7 won't be an input until i independently configured it as an input so i placed this line
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
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Bookmarks