I have an ESP8266 with two buttons connected to pulled-up GPIO4 and GPIO14. The buttons pull the signal down if pressed. I want to reset the microcontroller on every raising edge. I thought about adding two diodes, so that the readings of one button don't get messed up by another button. The buttons are pulled up by internal resistors in the code.
But my circuit doesn't seem to do what I wanted:
What it should do: The two buttons are in a case. When one of them is pressed, the ESP wakes up from deep sleep. It then reads the values on GPIOs and sends them via WiFi. After that it listens for a falling edge (via interrupt) on those two GPIOs and restarts in software and then goes to sleep if the buttons are pressed down. So it's in deep sleep with a low signal on RST, if I release the button RST goes high and the ESP wakes up.