readanalogsensor()

Function Definition: readanalogsensor(analog_pin = "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.

Parameters

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

Example

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