10 years, 11 months ago.

interrputIn

how can i test the interrupt routine? is it possible to set one pin as output, which is set to "1". and use another pin as interruptIn. so that i connect these two pins to test the interrupt routine ?

and, which pins could i use for that?

(i havent anything else here, so that would be the only way to test the isr at the moment...)

Question relating to:

2 Answers

10 years, 11 months ago.

Hello Andre Se,

of course you can. You find this helpful: https://github.com/mbedmicro/mbed/blob/master/libraries/tests/mbed/interruptin/main.cpp

It's a test for interruptin (using the same approach that you asked about - Digital pin and Interrupt pin. If you don't want to test your specific pins, use those whihc are defined for KL25Z

Regards,
0xc0170

Accepted Answer
Andre Se
poster
10 years, 11 months ago.

Hallo Martin Kojtal,

thank you, it helped and worked. :)