getDigitalInput

open fun getDigitalInput(port: Int): Boolean

Get value of a Digital Input port

Return

Value of the port (probably 0 or 1)

Parameters

port

Hardware Port