Create Motor Shield Function