Closed bobvc133 closed 1 year ago
I tested and found that when GPIO23 is mapped as the BOOT button, and the power on/off function is set, it can be powered off but cannot be powered on
Not completely clear your request. Let me try to reply.
Configuration file switch is not possible using pedals. This is not an available action. It is not so complex to implement. Do you need it?
What do you mean with library switch? Is it the same of bank switch? If yes, it is already implemented as an action and can be linked to any pedal.
What do yo mean with GPIO23 mapped as BOOT button? BOOT button is connected to GPIO00.
What I mean is to ask what extra GPIOs can be used on the ESP32_DOIT development board. The TTGO development board has two onboard buttons, GPIO0 and GPIO35, which can be set, while the ESP32_DOIT development board has only one GPIO0 onboard button. I also need an external button.
I just want to connect two external buttons, similar to the GPIO0 and GPIO35 onboard buttons of the TTGO development board, because the onboard buttons developed by ESP32_DOIT are EN and GPIO0, which cannot be used directly. I also don't want to connect external buttons via flying wires.
This problem has been solved, modify the code to change GPIO0 to GPIO2, add a pull-down resistor, and then add GPIO23 port as pedal 8
I want to connect two external buttons on ESP32_DOIT, one to control the configuration file switch, one to control the library switch, GPIO0 has been mapped to GPIO23 and can be used normally, and I also want to set an 8th button similar to GPIO35 of TTGO T DISPALY, which can be used GPIO2 interface, what code needs to be modified?![Snipaste_2022-09-12_14-49-40](https://user-images.githubusercontent.com/91867813/189590483-9d6cfd1e-36dd-43f6-9aa8-6ec90f5d64dd.png)