added ability to set pin mode without sending set pin mode command to Firmata