Firmware for STM8 to act as matrix keyboard controller with I2C interface
- Only simplest reporting over I2C implemented (current state of matrix keys)
- Key states are scaned periodicaly and some state change buffering can be implemented
- Uses Standard Peripheral Library for STM8S
- I2C slave interface imlemented with interrupts
- Uses SDCC
- PlatformIO project provided
I use it with 4x4 Matrix Keypad and STM8S103F3 Breakout Board
- Standard Peripheral Library Examples
- First steps for the Keyboard controller
Parts of code under MCD-ST Liberty SW License Agreement V2
Copyright (c) 2022, devegied
Copyright (c) 2014, STMicroelectronics