Added pin assignments for motor and sensor