This driver uses a PCF8574 I/O port expander to drive/scan a keypad. The number of rows and columns is user configurable, such as the I2C slave address of the PCF8574 and the GPIO used for the interrupt.
A NuGet package with the driver is available here.
A demo application is included to illustrate the configuration of the driver and handling the key pressed/released events.
Hardware used:
- nanoFramework board PalThree from OrgPal.
- The PCF8574 used it's assembled in a module from TECNOIOT.
- The 4x4 Matrix Keypad is from AZ-Delivery.
Contributor: OrgPal