Digital In

Purpose

Read a digital input.

Description

../../_images/digitalin.svg

The output signal is 1 if the input voltage is higher than 2 Volts and 0 if it is lower than 0.8 Volts. For other input voltages the output signal is undefined.

Parameters

Digital input channel(s)

Index of the digital input channel. For vectorized input signals a vector of input channel indices must be specified.

Input characteristic

Specifies whether an internal pull-up (\(10\,\textrm{k}\Omega\) against 3.3 Volt) or pull-down resistor (\(10\,\textrm{k}\Omega\) against GND) is connected to the digital input.