PWM

a

  • effect: pwm pin object


a

  • effect: set the servo angle

  • parameter: It can only be a numerical value, indicating the angle you want to set, between -90 and 90


a

  • effect: Set the pwm value directly to adjust the “strength” of the pin

  • parameter: 0~4095


a

  • effect: Set the pwm value by percentage

  • parameter: 0.00~1.00


a

  • effect: Set the evaluation rate of the pin to 50 (cycle 20 milliseconds)


a

  • effect: Set the clock rate of the pin pwm unit


a

  • effect: Set period