In this guide for teachers, I introduce more LEDs with our LDR and use an if-else statement with the AND logic operator. Now the LEDs will light up or be off depending on the intensity of the light.
For more information, you can contact me on +233248932204