This project is an example of what you can do with the FlexIO of the Kinetis family. It implements a security keypad function with a simulated lock actuator control (GPIO pin toggle). This was made to demonstrate the capability of the FlexIO to implement an I2C bus. The FlexIO communicates with a touch pad sensor IC (MPR121) via the I2C bus. Reading the touch values from the MPR121, the FRDM-K82f determines whether or not a correct entry has been entered and sounds a buzzer to indicate a correct code has been entered. It automatically resets if an incorrect keypad is touched.