25ms dry contact input need to convert to 1 second dry contact

Hi Arduino Newbie here!

I have a 25ms dry contact that I need to convert to a 1 second dry contact. Any ideas or recommendations would be great. I have reviewed quite a few of the sample projects but just can't seem to wrap my head around the coding required for this project.

Thanks for any help you can give.

Post your program. How can you expect help without letting us see what you can see?


Also, what is that "dry contact" and what do you mean exactly with "converting" it?

Just multiply your 25 ms dry contact by 40 and you get your 1 second dry contact.