readdigitalniput()

Function Definition: readdigitalniput(‘3’,’2’)

Parameters

NameTypeDescriptionExpected ValuesDefault Value
‘3’,’2’intThis function returns the state of a digital sensor connected to the specified pin. 1,2

Description

This function returns the state of a digital sensor connected to the specified pin. 

Example

There are no examples documented for this article.