xiaozhi-esp32
xiaozhi-esp32 copied to clipboard
Add wake-up button and stepback button
Add wake-up button and stepback button for Asrpro to achieve smooth custom wake-up, interruption and exit dialogue. This also supports adding two physical buttons to control dialogue flow.
- device Idle -> wake-up button press -> device wake up
- device speaking -> wake-up button press -> interrupt to listening
- device speaking -> stepback button press -> device Idle
- listening -> stepback button long press -> device Idle
这个把GPIO19和20用了,USB TX RX还能正常工作?请教一下 @Kevincoooool
这个把GPIO19和20用了,USB TX RX还能正常工作?请教一下 @Kevincoooool
19和20可以当作普通IO用,但是如果用作普通IO就不能作为USB下载,板子如果下载使用的是USB转TTL芯片的话,可以使用串口0下载,也可以按住BOOT上电的时候用USB方式下载
开发板都有两个type c口的,我还是习惯用usb下载,速度够会。这个pr应该会导致usb下载失效,先关闭了。