Variable speed and incline for treadmill

thanks for the reply, yes i have attached photos of it. I can identify the red and black wires leading to the circuit board, and was curious if i could disconnect the red and black wires from the dc motor into the arduino/bread board. Or if i have to identify what area of the circuit board controls speed and incline.