Create Motor Driver Code