Quantcast
Channel:
Viewing all articles
Browse latest Browse all 59170

Forum Post: RE: Keymatrix Switch Example

$
0
0
Hi KAROL, Thank you :) As per the procedure - I have added the key matrix HAL driver. - Then enabled the interrupt. - In the key matrix HAL driver, wrote the user_keypad_callback as a callback function - Selected the channel 1 - Interrupt enable after initialization is true. - In keypad thread i have written ssp_err_t err; err = g_kint.p_api- open(&g_kint.p_ctrl, g_kint.p_cfg); if (err != SSP_SUCCESS) {    while(1); } tx_thread_sleep (50); In user_keypad_callback function one led blinking code is written. If i am not wrong, when the key is pressed the code should go into callback function but it is not. So what could possibly go wrong ?? Regards

Viewing all articles
Browse latest Browse all 59170

Trending Articles