Table of Contents

Function Definition: readanalogsensor(analog_pin = "A1")

Parameters

NameTypeDescriptionExpected ValuesDefault Value
analog_pinstringThe analog pin of the Quarky where the sensor is connected."A1", "A2", or "A3""A1"

Description

The function returns the analog reading of the sensor connected to the specified analog pin of the Quarky. The value varies between 0 to 4095.

Example

There are no examples documented for this article.