Page 12 - Demo
P. 12


                                    d) digitalRead()Answer: c) delay() Fill in the BlanksQ1. The Green LED is connected to Arduino pin _____.Answer: 10Q2. The _____ function is used to send ON/OFF signals to LEDs.Answer: digitalWrite()Q3. In the code, the Red LED remains ON for _____ seconds.Answer: 5Q4. The sequence of lights simulates a real-world _____ system.Answer: Traffic light Match the FollowingColumn A (LED Color) Column B (Meaning in Traffic Light)1. Red LED a. Go2. Yellow LED b. Stop3. Green LED c. Wait4. delay(5000) d. 5-second pauseAnswer Key:1 %u2192 b2 %u2192 c3 %u2192 a4 %u2192 d
                                
   6   7   8   9   10   11   12   13   14   15   16

 

 

 

 

 

Web hosting by Somee.com