Arduino Toolkit - @arduino/isTerminalAnalog


: ret = isTerminalAnalog (obj, terminal)

Return true if pin is capable of analog input

Inputs

ar - the connected arduino object

terminal is a terminal number to check

Outputs

ret return 1 if terminal is a analog pin, 0 otherwise