(New here, apologies if this isn’t posted correctly, in the wrong place, etc)
Hey everyone, happy new year!
I’m trying to setup user settings such that when the flashlight is factory reset, my config is loaded. There’s something in the documentation about a users folder to be specified during compiling the hex, but it apparently doesn’t work well (or at all).
So instead, I switched to modifying the source files. I know my last flash worked because I also modified button LED behavior, which I can see is working correctly.
What I’m struggling with are the modifications in hw/hank/lume-x1/anduril.h
Here’s my file: https://pastebin.com/JFLpWjDL, my changes are line 35-end (the rest is stock). Is this setup correctly?
I also tried to chill out candle mode a bit with #define CANDLE_AMPLITUDE 10 (default value = 25), but that did not create a noticeable difference — any suggestions here? The candle looks like it’s in a strong breeze, and I want to lessen all the “dancing around” so that it’s more stable/calm looking.
ADDITIONAL INFO: Emisar D4K, single channel, Lume X1, model 0281. Mac OS 13 to code & compile, ZFlasher AVR on Android to flash.
Ah interesting, because last night TK recommended I lower that value… I will try raising it for more smoothness. By the way, does the button affect flicker speed? On my light, 1H & 2H have to do with the candle’s overall brightness (just like in normal ramping mode), but someone elsewhere suggested it affects the flicker speed.
All you can change during runtime is the brightness. Speed and depth of the flicker are hardcoded. There were some discussions in the past about changing the candle algorithm.