forked from xiaozhi/xiaozhi-esp32
Support adjust volume with knob in SenseCAP Watcher (#399)
* fix typo, add missing prefix `CONFIG` to `ESP_TASK_WDT_TIMEOUT_S` * add KNOB gpio spec to sensecap config * create new knob component * implement ajust output volume with knob * modify function name to UpperCamelCase * Tidy up comments and logs
This commit is contained in:
@@ -54,7 +54,8 @@
|
||||
#define BSP_PWR_START_UP (BSP_PWR_SDCARD | BSP_PWR_LCD | BSP_PWR_SYSTEM | BSP_PWR_AI_CHIP | BSP_PWR_CODEC_PA | BSP_PWR_GROVE | BSP_PWR_BAT_ADC)
|
||||
|
||||
#define BSP_KNOB_BTN (IO_EXPANDER_PIN_NUM_3)
|
||||
|
||||
#define BSP_KNOB_A_PIN GPIO_NUM_41
|
||||
#define BSP_KNOB_B_PIN GPIO_NUM_42
|
||||
|
||||
/* QSPI */
|
||||
#define BSP_SPI3_HOST_PCLK (GPIO_NUM_7)
|
||||
|
||||
Reference in New Issue
Block a user