Digital Input
R2026bRead logical values from the 3-wire port on VEX EDR V5 Robot Brain
Libraries:
Simulink Coder Support Package for VEX EDR V5 Robot Brain /
Sensors
Description
Add-On Required: This feature requires the Simulink Coder Support Package for VEX EDR V5 Robot Brain add-on.
The Digital Input block reads the logical value from the selected 3-wire port on VEX® EDR V5 Robot Brain. You can use up to eight 3-wire ports on the VEX EDR V5 Robot Brain to read logical values.
Ports
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.
"vexv5lib/Sensors/Digital Input"
Example: add_block("vexv5lib/Sensors/Digital Input","myModel/myBlock",MakeNameUnique="on")
Version History
Introduced in R2018b
