pwm_write

pwm_write#

method

BaseArduinoDriver.pwm_write(pin: int, value: float) None[source]#

Tell the arduino to produce a pwm signal on a pin.

Parameters:
pinint

Integer that represents the digital out pin number on an arduino

valuefloat

The duty cycle of the pwm to be set (0 - 1.0)