DC motor control using ldr sensor Module

In the Arduino IDE, use Ctrl T to format your code then copy the complete sketch. Use the </> button from the ‘reply menu’ to attach the copied sketch.


Never ever use delay() in your sketches; at least not until you know why you shouldn’t.


Please review these:

1 Like