readdigitalsensor()

Function Definition: readdigitalsensor(digital_pin = "D1")

Description

The function returns the state of the digital sensor connected to the specified pin of the Quarky.

Parameters

NameTypeDescriptionExpected ValuesDefault Value
digital_pinstringThe digital pin where the sensor signal pin is connected."D1", "D2", or "D3""D1"

Example

It seems we can't find what you're looking for.