Closed pyr0ball closed 5 years ago
Expected behavior: The PWM duty cycle for VComp_Adj and V_Fol_Adj should be at or close to the desired values set in the parameters section
Actual behavior: They both drop to 0 on boot
I expect something with the logic I wrote isn't doing it's job right. Will require review
It's "ADJ_COMP + (diffCompL / 4);"
Shouldn't it be more like "ADJ_COMP += (diffCompL / 4);"?
@Svatevit I'll give that a whirl, thanks!
Yep that did it!
I'm far to used to bash operators.
Expected behavior: The PWM duty cycle for VComp_Adj and V_Fol_Adj should be at or close to the desired values set in the parameters section
Actual behavior: They both drop to 0 on boot
I expect something with the logic I wrote isn't doing it's job right. Will require review