Main Content

Digital Write

Set the logical state of the digital output pin

  • Digital Write block

Libraries:
Simulink Coder Support Package for BeagleBone Blue Hardware / Basic

Description

The Digital Write block sets the logical state of the specified digital pin on the board.

During the external mode simulation, the block sets the value to the pin that you specify in the Pin parameter.

During simulation in all other modes, the block does nothing.

Ports

Input

expand all

The block sets this value to the digital output pin that you specify in the Pin parameter.

Data Types: Boolean

Parameters

expand all

Specify the digital pin number.

To open the pin mapping table, click View pin map.

Each block must have a unique pin number within a model.

Version History

Introduced in R2018b

See Also