Get the terminal number for each pin.
ar - connected arduino object
pins - single pin name or cell or vector array of pin names.
pinnums - pin number of each named pin. If the input was a single string, returns a number. if the input pins was a vector or cell array, return a cell array of pin numbers corresponding to each input pin name.
See also: arduino, getPinsFromTerminals.
Package: arduino