make motorOne receive pin dynamically