Main Content

Digital Read

Read the logical value of digital input pin

Add-On Required: This feature requires the Simulink Coder Support Package for NXP FRDM-K64F Board add-on.

Library

Simulink Coder Support Package for NXP FRDM-K64F Board

Description

Read the logical vale of a digital input pin.

Parameters

Pin

Select a digital pin. To view the pin mapping, click View pin map.

Sample time

Specify how often this block reads a digital pin value in seconds.