motor code should now control pins