getInterruptTerminals

Get terminals with interrupt functionality

Syntax

terminals = getInterruptTerminals(arduinoObj)

Description

example

terminals = getInterruptTerminals(arduinoObj) returns terminals with interrupt functionality on your Arduino® board.

Examples

collapse all

Get terminals on an Arduino Uno device that can have interrupt functionality.

arduinoObj = obj.Parent;
terminals = getInterruptTerminals(arduinoObj)
terminals = 
2,3

Input Arguments

collapse all

Arduino object, specified as an object that is an internal variable called from within classes that derive from matlabshared.addon.LibraryBase.

Output Arguments

collapse all

Interrupt terminals, returned as a double or an array of doubles. For more information on terminal and pin numbers, see Physical Terminals and Pin Numbers.

Introduced in R2019a