I have to interface i2c keypad with MK22 micro controller for detection of key pressed.
Please help me with any example/ sample code to achieve the same.
Hi,
You can use as reference some of the i2c SDK examples to develop your application.
Please enter to this link and select your part to download the SDK library.
https://mcuxpresso.nxp.com/en/select
I hope this helps, Daniel.