May I state it's YOUR exercise to define what has to be done for wich input combination ...
AND we're supposed to help for programming the PIC application ...
In short words :
The logics problem is yours ... not ours to solve.
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