Initial testing looks good except that setting the channel in tac mode, first time, also sets the rest to that channel. Need to ensure the rest of the other modes are set to the desired channel as well. A small thing and easy to work through, just thought I’d mention it.
Is there a way to alternatively strobe channels in 2 channel lights? I want to get a dual channel quad emisar from Hank, with white and amber, and keep in a car, just in case i have a car trouble at night. I already have a lantern I moded with amber/yellow, (thou they look same color to me), but it is big, always banging around in the trunk, and only runs leds at 700ma.
Yeah. In new firmware versions, the police flasher strobe mode will use both main channels on 2 channel lights, or red and blue aux on single channel lights with RGB.
I’m not sure if they’re in the current version or not (they existed before multichannel but would definitely need refactoring to work with that), but starryalley has implemented a few custom multichannel strobe modes with different effects too.
I try his mod in a D4SV2 and they are gorgeous. I hope in the future he can do more after the next ToyKeeper release. Starryalley I know is in stand by now
Thank you for trying that out. I haven’t been working on Anduril for a while. With those multi-channel strobe modes I made, they are mostly still in my old repo here which are based on older version. I’ve moved on to the new one but for multi-channel strobes I haven’t got a chance to move it there.
My 9.3 has police strobe, i did not see it at first cuz 3 leds are uv with black filters, barely visible in a daytime, but it does work that way, however leds flash too fast, is there a way to slow them down, or it is preset and no way for a user to adjust?
I find strobe of any kind absolutely useless and an abomination that should never be on any flashlight. To be perfectly frank I wish it as illegal in most places.
And here you are discussing modes, and speeds, and options.
Just goes to show how Extremely versatile and varied the usage profile is, of the simple, lowly, wonderful thing we call a flashlight!
It really is amazing, even fascinating how different our individual usages and needs really can be.
Yeah, no, no argument! Just an interesting thought. carry on, I just needed to relate and philosophize… lol .
Github question…say I wanted to add some of starryalley’s strobes to my light is there a way or is it even possible to get it to upload through Z-Flasher on my phone?? Or is that wishful thinking
ZFlasher is just the final step when you have the hex file. Before that you have to merge the code and compile it. Not a simple task because the code structure has changed recently.
Geez ok so I have no chance lol I’m trying to learn but I’m not well versed in computer skills I can get around but easily frustrated thanks for the response
If you were interested, you’ll need to learn C. In my opinion it’s a good language asa first language, teaches you paradigms that are useful in other languages too.
I’d suggest starting with ui/anduril - the source files there are named fairly obviously as to what they do (off-mode.c, lockout-mode.c, etc.).
The strobe modes are a little more complicated, but implementing starryalley’s ones with the new channel mode API is possible, but would need a lot of thought as to how, as those strobe modes mostly didn’t scale and only worked with a single ramp between two channels, while lights now can have 3 or more channels and there isn’t one single ramping mode in the same way.
It’s probably sort of a “weekend project” level for me but I just don’t have the brainwidth to right now (I haven’t been doing much recreational dev work recently, too close to my dayjob which is a bit stressful at the moment so I prefer to use lights to get away from a work mindset at the moment), but it’s definitely on my todo list.
I am very interested in learning I too use my lights as a daily escape from job/life related stress I program CNC machines so I’m sure if I was shown the right path I’d probably pick it up pretty quickly thanks for the response wolfgirl
For device-specific config, look under hw, for example, hw/wurkkos/ts10 for the TS10. There, anduril.h contains most of the softer configuration, and hwdef.c and hwdef.h the lower level hardware config, which is mostly for FSM. Subdirectories are variants, e.g. the TS10v2 is AKA the ts10-rgbaux, so it’s under hw/wurkkos/ts10/rgbaux/
ui/ is for UIs built on FSM (there are others, although mostly unmaintained), so anduril will be under ui/anduril/
If you’re just looking to learn C in general I’d recommend a book or tutorial series, unfortunately I don’t know which are currently good as I learned it a very long time ago.