Hello I have a problem with my code. I have configured P2_P8 how fast interruption. When I create a button in keil debugger I don't have any problem
define button "ppoAvisoAI", "PORT2 |=0x0100"
P2_P8 = 1;
if (P2_P8 == 1) { //my code } else { // another code }