본문 바로가기
프로그래밍/STM32

button(버튼) / Key(키) 이벤트 처리(핸들링)

by C.D.콤파스 2023. 7. 26.

MCU (Embbeded) 시스템에 Button 입력 처리는 아래의 github에 코드를 참조하면 도움이 됩니다.

 

github : https://github.com/taraskornuta/Button

 

GitHub - taraskornuta/Button: Embedded MCU library to handle buttons pressing

Embedded MCU library to handle buttons pressing. Contribute to taraskornuta/Button development by creating an account on GitHub.

github.com

This is a high-level abstraction layer library which provides easy to use driver to handle simple signal buttons connected directly to MCU GPIO.

 

The library is provide:

  • Up to 255 buttons handling
  • Buttons debounce filtering
  • Single short press handling
  • Single long press handling
  • Short release button callback function
  • Long press button callback function
  • Long release button callback function

 

'프로그래밍 > STM32' 카테고리의 다른 글

STM32 GPIO 설정 (Configuration)  (0) 2023.07.18
Free RTOS (Timer) Example  (0) 2023.07.13
Free RTOS (Message Queue) Example  (0) 2023.07.12