Hi all,
I have 4 switches controlling a function.
I am using and if-else statement for this.
However i am receiving error for doing this,
if((PORTEbits.RE0==0^PORTEbits.RE1==0)&&(PORTE.RE2==1&&PORTB.RB0==1))// Either S4 is ON or S5 is ON while RE2 & RB0 is OFF
Isit wrong or is there other way for accomplish it?
Thanks