Main Content
configurePinResource
Set resource owner and mode of pin
Add-On Required: This feature requires the MATLAB Support Package for Arduino Hardware add-on.
Syntax
Description
returns
the specified mode of mode
= configurePinResource(arduinoObj
, pin
)pin
.
configurePinResource(
configures
the mode of arduinoObj
, pin
, resourceOwner
, mode
, forceConfig
)pin
to the specified mode
and
the specified resourceOwner
. You can optionally
force this configuration on the pin using forceConfig
.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2015b