forked from xiaozhi/xiaozhi-esp32
修改神奇按钮2.4板子的LED和按键功能 (#203)
* 修改LED和按键功能 * Update magiclick_2p4_board.cc --------- Co-authored-by: Xiaoxia <terrence@tenclass.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user