forked from xiaozhi/xiaozhi-esp32
支持乐鑫的esp32-box-lite开发板 (#288)
* add esp-box-lite * 增加adc按钮支持,响应esp32box-lite的音量上下键 * 注释改进 * 只对esp-box-lite启用CONFIG_SOC_ADC_SUPPORTED --------- Co-authored-by: cqm <cqm@97kid.com>
This commit is contained in:
@@ -7,6 +7,9 @@
|
||||
|
||||
class Button {
|
||||
public:
|
||||
#if CONFIG_SOC_ADC_SUPPORTED
|
||||
Button(const button_adc_config_t& cfg);
|
||||
#endif
|
||||
Button(gpio_num_t gpio_num, bool active_high = false);
|
||||
~Button();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user