The Mtn buck uses an Attiny MMU package (no exposed pins) but can use standard firmware that we use on the 13’s.
If you are talking about a Pot solution that requires custom coding, I am confident that FW does not exist yet because the hardware doesn’t exist yet because the firmware doesn’t’ exist yet because hardware doesn’t ex…. you get the idea. You’d have to ask someone to custom write it for you.
In that case my recommendation is that if you are building just one light, make yourself a 555 circuit. My first ever circuit project was exactly this. I used a pot to create a PWM signal to drive a load. I used large components since space was not an issue, but they all come in super miniature too. Maybe you can ask pilotdog68 really nice, I know he has created custom PCBs in the recent past. I can try to dig up my schematic if you choose that method.
@#$% PWM! Seriously! It's a big pile of sheesh! The higher the PWM frequency, the higher the switching losses. And anyway, face it: the lower the duty cycle/lower modes, the more you are in the darkness (literally). Screw it!
AMC7136 advantages briefing:
Resistor adjustable sink current range: 10 to 400mA.
Current/voltage range extendable with external NMOS/NPN transistor (plus resistor and zener diode).
I’m still not totally clear on what to do or what I need? I feel like there’s a simple solution to this, but we’re over thinking it. Here’s a link to another light with an intensity knob.