It just wont work.
Do you have a "pinMode (flashPin, OUTPUT);" somewhere?What happens when you connect a LED to "flashPin"?
The funny thing is when the optoisolator switches the voltage drops to 0V and then back to 150V without unloading the flashs voltage
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16