The function returns the state of the digital sensor connected to the specified pin of the Quarky.
readdigitalsensor()
Function Definition: readdigitalsensor(digital_pin = "D1")
- Python Library: Sensors (Quarky)
- Library Import: quarky = Quarky()
- Mode: Stage Mode, Upload Mode
Parameters
Name | Type | Description | Expected Values | Default Value |
---|---|---|---|---|
digital_pin | string | The digital pin where the sensor signal pin is connected. | "D1", "D2", or "D3" | "D1" |
Description
Example
There are no examples documented for this article.