Question: Is there any way that I can change the signals from two inputs into the max signal from those inputs?
Such as,
0, 1 => 1
0, 0 => 0
1, 0 => 1
1, 1 => 1
Extra info: One input is a reed switch, the other is from an ESP8266 GPIO pin. Once the reed switch is activated, the ESP8266 is reset (the reed is connected to the reset and ground pin). During startup, power is applied to the ESP8266 GPIO pin until the ESP finished processing so that the device is being kept alive until it is done.
Current problem is, when the reed switch closes too quickly, GND is applied to RST, keeping the ESP in a state of non-deep-sleep and inability of finishing its process. So in order to solve this, I'd need to combine the MAX of those inputs.
Requirements: The "max" operation should not require extra power, so that when the ESP is in deep sleep, there is no extra power drain for this "max" operation (such as a reed switch doesn't require power to complete/open a circuit)