call setPinMode from within Firmata