the code for the atmega and motors