RC2019 – DC-motor assignment – 2 Explanation: The code adjust runs the DC-motor connected to motor-port A on the Arduino R3 Motorshield, with an adjusted speed based on the position of the potentiometer connected to pin A5.