Arduino Toolkit - @arduino/isTerminalDigital


: ret = isTerminalDigital(obj, terminal)

Return true if pin is capable of digital functions

Inputs

ar - the connected arduino object

terminal is a terminal number to check

Outputs

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