I used to post on here years back. This might be of use, it’s code for morse.
Edit: Should add, you have to go into the advanced menu 4 (adc) and hold the button down for awhile when you first flash it in, it’ll go through the adc options and if you keep holding, resets the light. This writes the necessary data in eprom. You can turn it off when it goes dark on the emitter and then it should work as written. I made quite a few of these lights, but in the end it was a fail. Noone really cares about morse. And the parts were expensive too. You need a decent inductor to safely put that much power into an emitter, and I figured out a neat trick on the tail cap to stop the arc. It turned out a fet and resistor simple. I ended up sourcing the inductor from isreal. The practical use turned out to be the usual. Guys were putting it on high and leaving it, burning out the emitters. It was all about high. Noone cared it was a morse code light with moonlight to blast. So that’s what I learned. I use it everyday for all sorts of things though.
Learned a lot here though. Some of you guys really know your stuff, couldn’t have created this without you.