Where can I find the documentation for tuner.softPwm #21
-
Good Morning, Looking in the examples I see the following "tuner.softPwm(relayPin, Input, Output, 0, outputSpan, 1);" I'm trying to understand what this is doing. Kind regards |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I'll be adding documentation later this year after the next sTune and QuickPID update. Right now, softPwm is a function in sTune that is called by QuickPID. Here's the header for the softPwm function: The last parameter is for setting the debounce value in milliseconds.
softPwm uses the PID input when using solid state relays (SSR).
|
Beta Was this translation helpful? Give feedback.
I'll be adding documentation later this year after the next sTune and QuickPID update. Right now, softPwm is a function in sTune that is called by QuickPID.
Here's the header for the softPwm function:
float softPwm(const uint8_t relayPin, float input, float output, float setpoint = 0, uint32_t windowSize = 1000, uint8_t debounce = 0);
The last parameter is for setting the debounce value in milliseconds.