Get the pin names from the input terminal values.
ar - the connected arduino object.
terminals - the numeric pin number, or array of pin numbers to get pin names.
pinnames - the string names of each input pin. If terminals was a single value, the return will be a single string, otherwise it will return a cell array of each pin name.
See also: arduino, getTerminalsFromPins.
Package: arduino