Page 1 of 1

Edge detection input and debounced input components

Posted: Thu Dec 11, 2025 12:55 pm
by RGV250
Also called "One shot", I wondered if it would be possible to add rising / falling edge inputs, with a debounce parameter would be good.
Also a debounced input, this could easily be done with a delay (0-25ms) added to the existing input.
They can be made with a few components but it would be a lot neater as just a component.

Regards,
Bob

Re: Edge detection input and debounced input components

Posted: Thu Dec 11, 2025 2:15 pm
by BenR
Hi Bob,

The switch components already have a debounce feature in the properties where you can set the amount of debounce time. You can then read the input state and compare to the previous input state, if they differ then you know you have just seen an edge.

Does this help?