split the arduino project in two : motor encoder