Set the logical value of a digital pin on the Arduino hardware:
Sending 1 to the block input sets
the logical value of the digital pin HIGH to 5 V or 3.3 V, depending
on the board voltage.
Sending 0 to the block input sets
the logical value of the digital pin LOW to 0 V (ground).
The block input inherits the data type of the upstream block,
and internally converts it to boolean.
Use only one block per pin.
This block uses the pinMode() and digitalWrite() functions
from the standard Arduino library.
If you run your model on target hardware, this block uses the
data it receives through the block inputs. If you simulate your model
without running it on the target hardware, this block does not do
anything. See TBD.
Set Logical Value of Digital Output Pin
Use the Digital Output block to write a logical
state to a digital output pin.
Install support for Arduino using the Target Installer,
as described in TBD
(Perform the second step — TBD)