Hi all!
RA4, RA5, RA6 is my input buttons they are active LOW inputs.
In my earlier post guys suggested me to detect/read the whole PORTA using this command.
This method is good when inputs coming from a digital IC. But when I giving inputs from switches the above command not working. So I have to check all three buttons individually.
Is there any method to detect two or three buttons at a time? It means
*when I press RA4 & RA5 both only the output LED1 lights up.
*When I press RA4, RA5, RA6 only the output LED2 lights up.
Thanks