Author Options:

What Code Should I use To Make a Single Pulse Trigger. Answered

Hello World,

I am currently making a circuit that will produce a single pulse using Arduino. I want that my circuit and code should produce a single pulse, after that the pin o which I am taking output becomes low until I switch off the button. the pulse should again be generated when the button is pressed.

I have been using a series of codes. But, whenever I upload the sketch to the Arduino it works for once. after that when I switch the button off and turn it on again it doesn't work. If the switch is kept on after some time it again starts to generate a pulse.

Please if anyone can help me out would be a great thing.



The forums are retiring in 2021 and are now closed for new topics and comments.