digital_read# method BaseArduinoDriver.digital_read(pin: int) → int[source]# Tell the arduino to read a value from a digital pin. Parameters: pinintInteger that represents the digital in pin number on an arduino Returns: intThe value read by the digital pin, 0 (LOW) or 1 (HIGH)