yanal
Junior Member level 1
Hello friends .. i already have working on project that implement can protocol .. i have made digital locker that open and close by sending commands from the pic ..
i tried to set keypad that when key clicked .. the key value will insert into array to be send to another lock using can protocol ..
the problem is that i used this function as follow :
and i want to make a time out for it ,, for example after 5 second the loop well break and go out from it to continue with the code .. i dont have any idea how to make this .. anyone can help me please with thanks ..
View attachment testforkeypad.rar
and i attached the full code also for more info ,,
i tried to set keypad that when key clicked .. the key value will insert into array to be send to another lock using can protocol ..
the problem is that i used this function as follow :
Code C - [expand] 1 2 3 do{ kp = Keypad_Key_Click(); // store key code in kp variable }while (!kp );
and i want to make a time out for it ,, for example after 5 second the loop well break and go out from it to continue with the code .. i dont have any idea how to make this .. anyone can help me please with thanks ..
View attachment testforkeypad.rar
and i attached the full code also for more info ,,
Last edited by a moderator: