strobe output for openmv h7

Is there any possibility to use a digital output of the camera as a strobe output?

I want to control my lighting only when the camera takes the snapshots and not all the time.

If i force a pin high before the:

img = sensor.snapshot()

and after that i force it low will work well?

a code like this

    img = sensor.snapshot()            # Take a picture and return the image.

Thanks in advance

Yeah, that works.