Page 10 - Demo
P. 10


                                     Explanation of Code1. Red, Yellow, and Green LEDs are connected to pins 8, 9, and 10.2. pinMode(..., OUTPUT); sets these pins as output.3. In loop(), each LED lights up for a fixed duration:o Red = 5 seconds (Stop)
                                
   4   5   6   7   8   9   10   11   12   13   14

 

 

 

 

 

Web hosting by Somee.com