servo_write

servo_write#

method

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

Tell the arduino to configure a pin to drive a servo to the inputed angle.

Parameters:
pinint

Integer that represents the digital out pin number on an arduino

valueint

The angle in degrees to move the servo to