Digital Input
Get logical state of digital input 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 Input block to read and output the logical state of the digital pins on your Arduino® board.
During the external mode simulation, the block outputs the simulation results returned from the executable running on the target hardware. During simulation in all other modes, the block outputs zeroes.
Ports
Output
Parameters
Version History
Introduced in R2012a