I posted before I saw that. Yes, that is exactly what I am talking about. It is also the standard way we read switches in a microcontroller. But he never answered my question about what he was triggering, it could be a relay.The schematic is in my previous post.
What I don't understand is why it matters as the ESP can be programmed for high or low inputs.

