DC motor code