Read logical values from the 3-wire port on VEX EDR V5 Robot Brain
Simulink Coder Support Package for VEX EDR V5 Robot Brain / Sensors
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.
Port_1 — Logical value read from the 3-wire port
0 | 1
3-Wire Expander (smart port) — Select the smart port that is used by 3-Wire Expander
None (default) |
If you are using a 3-Wire Expander, specify the smart port on VEX EDR V5 Robot Brain to which the expander is connected.
Port — Select the 3-wire port to read the logical value
A (default) |
Select the 3-wire port on the VEX EDR V5 Robot Brain from which you want to read the digital signal.
Do not assign the same port to more than one Digital Input block within the same model.
Sample time — Sample time for obtaining the value from the 3-wire port
0.2 (default) | seconds
Specify how often the block should read the values from the 3-wire port.
Introduced in R2018b