: ouy = getPinAlias (ar, pin)

Get the pin actual pin name from a pin alias.

For example, the arduino Leonardo, pin "D4" is also "A6".

Inputs

ar - the connected arduino object.

pin - a pin name.

Outputs

out - alias pin name, or same as pin if the pin doesnt have any alias names.

See also: arduino, configurePinResource, getResourceOwner.

Package: arduino