I am using the following code
while(1)
{
if(ButtonsPoll(0,0)& LEFT_BUTTON) TurnOffCone^=1;
if(ButtonsPoll(0,0)& RIGHT_BUTTON) TurnOffCtwo^=1;
}
the buttons are unresponsive so that they are not being recognized as being pressed how do I use the buttons as interrupt or fix so that the buttons are recognized as pressed right away thx