The Light Dependent Resistor is a sensor. Its resistance is way too high to drive any conventional low cost motor. In darkness the LDR will be several megohms. In bright light it will be under 1000 ohms, depending on make and model.
You need to measure the LDR with either the POT command or an ADC and then convert that to a PWM signal to drive the motor.
HTH
BrianT
Bookmarks