How to trigger events after flash (Blink)

How do i trigger events after flash?

You should know when a flash is triggered, and you should know for how long a flash is taking place.
The only problem is that your code does not execute when the flash is finished, right?

So how about resetting a timer when you trigger the flash, and later when the trigger reached it’s value (your desired delay) you can do something. In case you only want to do something after the flash use the trigger in combination with another flag that indicates the flash has happened - so another boolean variable.

Thanks you so much hiran.