Einen ausgang vom atmega muss auf die Leitung CLOCK und einer auf CW.

und die stromversorgung der motoren sollte wohl an "Motorspannung"