add ecnoder.c and motor.c
some pcb changes