digital_write

digital_write#

method

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

Tell the arduino to turn a pin digitally to the inputted value.

Parameters:
pinint

Integer that represents the digital out pin number on an arduino

valueint
The value of the digital pin to be set
0: LOW
1: HIGH