readanaloginput()

Function Definition: readanaloginput(A1)

Parameters

NameTypeDescriptionExpected ValuesDefault Value
A1characterThe function reads the sensor's analog value on the specified pin and returns an integer between 0 and 4096. The pins can be set to A1 and A2.A1, A2

Description

The function reads the sensor’s analog value on the specified pin and returns an integer between 0 and 4096. The pins can be set to A1 and A2.

Example

There are no examples documented for this article.