gassensorvalue()

Function Definition: gassensorvalue(pin = "A1")

Parameters

NameTypeDescriptionExpected ValuesDefault Value
pinintThe pin of Quarky or the Expansion board where the relay is connected."A1", "A2", "A3""A1"

Description

The function reports the analog reading of the Gas sensor connected to the selected pin. The value will vary between 0 to 4095.

There are lots of pins to which the sensor can be connected:

  1. Analog Pins: A1, A2, and A3

Example

There are no examples documented for this article.
Table of Contents