[released] 17mm 8x7135 with Zener & dual-PWM + stubborn: A17PZL

Thanks grantman321. The 19.1k resistor can work fine with tweaked parameters, it’s not a problem. 22k is cheap and easy (it functions at least passably with the stock values). Take a look at the comment section at the top of STAR_off_time.c to see a description of how those resistors are used and a summary of the math. Understand that we’ve moved the input for the voltage divider from the back of the diode to BAT+, so the “~.25 v drop from the protection diode” which JonnyC mentions is now gone. I just use a voltage divider calculator (this one).

I go on a bit more on the subject over here, and probably some other places too: Oshpark Projects (#917)