readdigitalinput()

Function Definition: readdigitalinput( A1)

Parameters

NameTypeDescriptionExpected ValuesDefault Value
A1characterThe function reads the digital value of a sensor connected to the specified pin and returns True or False.A1, A2, A3

Description

 The function reads the digital value of a sensor connected to the specified pin and returns True or False. The pins can be set to A1, A2, and S1.

Example

There are no examples documented for this article.