AnsweredAssumed Answered

Input interrupt or event in KW41Z with wireless_examples_thread_router_eligible_device

Question asked by DIEGO COMIN on Sep 4, 2018
Latest reply on Sep 10, 2018 by Juan Carlos Pacheco

Hi,

I want to make at the Coap application from the example wireless_examples_thread_router_eligible_device an custom application. I need to send my luxometer value through Coap when an input interrupt comes in PTA17.

 

To recycle a keyboard event report I changed the switch SW2 pin PTC5 to my PTA17.

I thought I could use the event "gKBD_EventPB2_c"  attached to the previous switch pin SW2 PTC5 (now attached to my PTA17), but when I trigger PTA17 input the module resets. 

 

What could be the problem? If it is not possible to replace the switch pin to any custom pin, could someone show me an example how to create a new event to report as it is done in Keyboard.c file with my PTA17?

 

Thanks in advance,

 

Diego Comin

Outcomes