Digital Output
Set logical state of digital output pin on Arduino
Add-On Required: This feature requires the Simulink Support Package for Arduino Hardware add-on.
Libraries:
Simulink Support Package for Arduino Hardware /
Common
Description
Use the Digital Ouptut block to set the logical state of the specified digital pin on the Arduino® board that you specify in the Pin number parameter.
During the external mode simulation, the block sets the value to the pin that you specify in the Pin number parameter. During simulation in all other modes, the block does nothing.
Ports
Input
Parameters
Version History
Introduced in R2012a