motor code error

I know it is a bit late in the game, but do you have the grounds connected?