I have watched recently this video:At the end of it he describe a way to make edge detector by using capacitor and resistor. The thing is i don't see it being discharged in any way. Would't it make it impossible to charge again and in consequence make current flow through the resistor and make voltage peak? Could someone explain how it works? I am beginner at building electronic circuits and this is my first post so sorry if i asked stupid question or made mistakes writing it.