Hi! I need to know how to make a motor to move in a constant direction with the aid of a photoresistor. the idea is that when you use it the motor changes the direction. I dont really know how to do the code and the connections in the arduino.
If you could help me, I would be pleased.