Home
last modified time | relevance | path

Searched refs:dutyCycle (Results 1 – 2 of 2) sorted by relevance

/hardware/bsp/intel/peripheral/libupm/src/cjq4435/
Dcjq4435.cxx81 void CJQ4435::setDutyCycle(float dutyCycle) in setDutyCycle() argument
83 if (dutyCycle < 0.0) in setDutyCycle()
84 dutyCycle = 0.0; in setDutyCycle()
86 if (dutyCycle > 1.0) in setDutyCycle()
87 dutyCycle = 1.0; in setDutyCycle()
89 mraa_pwm_write(m_pwm, dutyCycle); in setDutyCycle()
Dcjq4435.h107 void setDutyCycle(float dutyCycle);