Hello friends,

What I want is this:

If RB0 is 0 RB1 is ON and IF RB0 is 1 RB0 is off , every time that presses the led it should change state.

Thank you

Quote Originally Posted by mister_e
both will work, mine just sit there until the button is release, then it allow a 50mSec of debouncing delay.