traffic_light_leds_using_array
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| traffic_light_leds_using_array [2026/06/17 21:27] – [Introduction] walkeradmin | traffic_light_leds_using_array [2026/07/07 19:48] (current) – [Introduction] walkeradmin | ||
|---|---|---|---|
| Line 13: | Line 13: | ||
| \\ | \\ | ||
| \\ | \\ | ||
| - | {{ : | + | {{ : |
| \\ | \\ | ||
| We have wired the LEDs to GPIO pins 2, 6 & 10. These are the GPIO Pin numbers, not the actual Pi Pico Pin numbers. | We have wired the LEDs to GPIO pins 2, 6 & 10. These are the GPIO Pin numbers, not the actual Pi Pico Pin numbers. | ||
| Line 62: | Line 62: | ||
| As you can see from the code, we have the four steps of the traffic light sequence. In step one, we can also turn off all the LEDs by calling the function we defined called <color # | As you can see from the code, we have the four steps of the traffic light sequence. In step one, we can also turn off all the LEDs by calling the function we defined called <color # | ||
| + | \\ | ||
| + | \\ | ||
| + | Here is the sequence running. | ||
| + | \\ | ||
| + | \\ | ||
| + | {{ : | ||
| \\ | \\ | ||
| \\ | \\ | ||
| ---- | ---- | ||
traffic_light_leds_using_array.1781731668.txt.gz · Last modified: by walkeradmin
