We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello, I am currently working with FRDM KL25Z board. I wish to write a code for object counter using interrupt. I don't know how to program nvic for this purpose. It will be of great help if someone provide me example code for configure nvic.
Note: in place of led and detector module I am using a switch for generating signal for detection of object. I am connecting this switch to pin 0 of port A.
Thanks in advance.
There are many examples for this board on NXP's website.
That would be good starting point.