Retrieves the current pin mode.
// PROTOTYPE PinMode getPinMode(uint16_t pin) // EXAMPLE if (getPinMode(D0)==INPUT) { // D0 is an input pin }