Table of Contents

readdigitalsensor()

Function Definition: readdigitalsensor(digital_pin = "D1")

Parameters

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

Description

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

Example

There are no examples documented for this article.