Traffic Lights
Using 3 LEDs to create a simple traffic light. Connect the positive lead of a red LED to PWR and the negative lead to leg 0. Connect the positive lead of a yellow LED to PWR and the negative to leg 2. Connect the positive lead of a green LED to PWR and the negative to leg 3. Download the code to your codebug, and press button B to start the lights.