digitalWrite(13, HIGH); // Turn on the LED
delay(15); // Wait for one second
digitalWrite(13, LOW); // Turn off the LED
delay(15); // Wait for one second
The potentiometer changes the amount of the resistance by rotating a sliding contact on top of the resisting material
My partner and i did these code changes
oneAfterAnotherNoLoop();
Which light up all the LEDs in turn and
oneOnAtATime();
Which turned one LED on at a time scrolling down the line
This sections turned the lights on and this section turned all the lights off.
In this circuit there is a manual and a auto function this is the video displaying only the auto function where the computer changes the values of the light for the user of the components. The manual form of the code has the user change the values of the light and sensitivity of the photosensor