forked from xiaozhi/xiaozhi-esp32
面包板增加触摸对话按钮,使用GPIO45
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
|
||||
class Button {
|
||||
public:
|
||||
Button(gpio_num_t gpio_num);
|
||||
Button(gpio_num_t gpio_num, bool active_high = false);
|
||||
~Button();
|
||||
|
||||
void OnPressDown(std::function<void()> callback);
|
||||
|
||||
Reference in New Issue
Block a user