Added changes to support Adafruit Standard Motor Shield.