Return true if pin is capable of digital functions
ar - the connected arduino object
terminal is a terminal number to check
ret return 1 if terminal is a digital pin, 0 otherwise
Package: arduino