Digital Output
R2026bRepresent one pin as digital output and set logical value
Libraries:
Simulink Coder Support Package for ARM Cortex-based VEX Microcontroller /
Actuators
Description
Add-On Required: This feature requires the Simulink Coder Support Package for ARM Cortex-based VEX Microcontroller add-on.
The Digital Output block is used to represent one of the 12 digital IO pins on an ARM® Cortex®-based VEX® Microcontroller as a digital output. The block sets the digital/logical value (1 or 0) of the pin. For information on the pin layout of the microcontroller, see the VEX Cortex Pin-Out diagram from VEX Robotics.
Ports
Input
Output
Parameters
Programmatic Use: Add Block
To add the block programmatically, use the add_block function with one of these library block paths as the source.
"vexarmcortexlib/Actuators/Digital Output"
Example: add_block("vexarmcortexlib/Actuators/Digital Output","myModel/myBlock",MakeNameUnique="on")
Version History
Introduced in R2016a