FWIW, Ferrero Rocher is supposed to blink once and shut off when power is connected. Short and long presses should go through the modes in opposite directions. However, it also tries to use two pins for battery indicator LEDs, and that could be messing with the behavior.
I suspect that what happens is a short or long press cycles normally until you let go, then it tries to indicate battery status by turning on one or two pins. This causes the light to turn on another power channel at 100%, and it drowns out any mode changes you do afterward.
If you disable the battery indicator code, it’ll probably behave a bit better. But this at least suggests that the e-switch pin is physically working.
Anyone know? I didn’t think it needed the zener if using with one cell. But I see that the new blf fet+1 includes a zener even when used with one cell. So IDK?
Well I build my first driver for good or for worst… Now I’m trying to sort through bistro triple down so I can flash it to this driver. This is the version optimized for two less, but I’m going to use all three channels on one xpl hi.
Pilotdog68, under the 7135 on the top of the board is the trace that can be cut to separate the 7135s on the back from the fet on the front. The trace is small, would that small trace carry the current ok? It’s probably common, but I never thought about how much current goes through these traces til now.
Ahh man… This is hard! I have so many questions :confounded:
I just realized I need to change the pin layout in tks bistro tripledown firmware. The layouts between board versions are a bit different. Do I just start changing pin labels in the attiny.h file?
You would probably need to change a few lines in tk-attiny.h in the section about “TRIPLEDOWN_LAYOUT”.
It may help to have the attiny reference manual open, to see which pins have which internal names.
Also note that the PWM on pins 5/6 works a bit differently than on pins 2/3, so you may also need to edit the first page of main() if you move any parts from one of those groups to the other.