I must send of the numbers from keyboard, I want that when release the key leaves a timeout of attended of the successive key of maximum 10 sec, I have tried this code, but I receive this on level trace 1 :
"OAT task index : 0
Watch dog rest. tsk 29 "
void Keyboard_Handler ( u8 Key, u8 Pressed ){
ascii Key_Press = 0;
adl_rtcTime_t Time2;
adl_rtcGetTime ( &Time1 );
while(!Pressed && STATO != STANDBY){
adl_rtcGetTime ( &Time2 );
if (Time2.Second > Time1.Second +10){
TRACE (( 1, "TIME OUT"));
STATO = STANDBY;
}
}
if ( Pressed ){...