My First Stoplight Circuit with my Raspberry Pi

My First Stoplight Circuit with my Raspberry Pi

  Note: Please remember that these tutorials are provided for educational purposes only.   LED Stoplight Using my Pi!! The Code: #!/usr/bin/python import RPi.GPIO as GPIO import time # Setup the GPIO ports # Use the pin numbers as they appear on the board GPIO.setmode(GPIO.BOARD) GPIO.setup(12, GPIO.OUT) #Red LED GPIO.setup(13, GPIO.OUT) #Yellow LED GPIO.setup(15, GPIO.OUT) […]