From 799d8e43b54f68c61c7b63e43d4a3487754dfe60 Mon Sep 17 00:00:00 2001 From: Dien-Nhung Nguyen-Phu Date: Sun, 2 Jun 2024 18:27:36 +0700 Subject: button: add basic button functionalities - Provided a way to set handler for each button one-press/long-press - Debouncing with RC filter and Schmitt trigger --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 44a2a17..3d82df9 100644 --- a/Makefile +++ b/Makefile @@ -50,7 +50,8 @@ CH5xx_ble_firmware_library/StdPeriphDriver/CH58x_usb2hostBase.c \ CH5xx_ble_firmware_library/StdPeriphDriver/CH58x_spi1.c \ CH5xx_ble_firmware_library/RVMSIS/core_riscv.c \ src/main.c \ -src/leddrv.c +src/leddrv.c \ +src/button.c # ASM sources -- cgit v1.2.3