Skip to content

Firmware for STM8 to act as matrix keyboard controller with I2C interface

Notifications You must be signed in to change notification settings

devegied/keypad_4x4_i2c_stm8_spl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

STM8 as I2C matrix keyboard controller

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

Inspiration

License

Parts of code under MCD-ST Liberty SW License Agreement V2

Copyright (c) 2022, devegied

Copyright (c) 2014, STMicroelectronics

About

Firmware for STM8 to act as matrix keyboard controller with I2C interface

Topics

Resources

Stars

Watchers

Forks

Languages