WebbotLib AVR library
WebbotLib It just does it
  C++ documentation  C documentation

setPercent

Set the new duty cycle as a percentage.
Syntax
Pwm. setPercent(duty)
Where Pwm is the name you have given to the device in Project Designer.
Parameters
TypeNameDescription
'duty'
The new duty cycle as a percentage in the range from 0 to 100.
Returns
None

 

 

Valid XHTML 1.0 Transitional