修改神奇按钮2.4板子的LED和按键功能 (#203)

* 修改LED和按键功能

* Update magiclick_2p4_board.cc

---------

Co-authored-by: Xiaoxia <terrence@tenclass.com>
This commit is contained in:
MakerM0
2025-02-21 04:32:09 +08:00
committed by GitHub
parent add225ba56
commit 63d8b30c02
2 changed files with 44 additions and 10 deletions

View File

@@ -24,7 +24,9 @@
#define BUILTIN_LED_NUM 2
#define BUILTIN_LED_GPIO GPIO_NUM_38
#define BOOT_BUTTON_GPIO GPIO_NUM_21
#define MAIN_BUTTON_GPIO GPIO_NUM_21
#define LEFT_BUTTON_GPIO GPIO_NUM_0
#define RIGHT_BUTTON_GPIO GPIO_NUM_47
// display
#define DISPLAY_SDA_PIN GPIO_NUM_15