Bird
0
0

What is the main purpose of using GPIO pins in a Raspberry Pi traffic light simulation?

easy📝 Conceptual Q11 of 15
Raspberry Pi - LED and Button Projects
What is the main purpose of using GPIO pins in a Raspberry Pi traffic light simulation?
ATo control the LEDs turning on and off
BTo increase the Raspberry Pi processing speed
CTo connect the Raspberry Pi to the internet
DTo store the traffic light timing data
Step-by-Step Solution
Solution:
  1. Step 1: Understand GPIO pin function

    GPIO pins on Raspberry Pi are used to send signals to external devices like LEDs.
  2. Step 2: Connect GPIO pins to LEDs

    In traffic light simulation, GPIO pins turn LEDs on or off to show red, yellow, or green lights.
  3. Final Answer:

    To control the LEDs turning on and off -> Option A
  4. Quick Check:

    GPIO pins control LEDs = A [OK]
Quick Trick: GPIO pins control hardware like LEDs in simulations [OK]
Common Mistakes:
  • Thinking GPIO speeds up the CPU
  • Confusing GPIO with internet connection
  • Assuming GPIO stores data

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Raspberry Pi Quizzes