readanaloginput()

Function Definition: readanaloginput(‘1’,’2’)

Parameters

NameTypeDescriptionExpected ValuesDefault Value
‘1’,’2’intThe function reads the analog value from the specified pin and returns a value between 0 and 4095.0 to 4095

Description

The function reads the analog value from the specified pin and returns a value between 0 and 4095.

Example

There are no examples documented for this article.