User Tools

Site Tools


traffic_light_leds_using_array

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
traffic_light_leds_using_array [2026/06/17 21:27] – [Introduction] walkeradmintraffic_light_leds_using_array [2026/07/07 19:48] (current) – [Introduction] walkeradmin
Line 13: Line 13:
 \\  \\ 
 \\  \\ 
-{{ :pico-non-wireless-pinout-with-leds-wiring.png?300 |}}+{{ :pico-non-wireless-pinout-with-leds-traffic-light-order.png?300 |}}
 \\  \\ 
 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 #00a2e8>all_off()</color> with the command '<color #00a2e8>all_off()</color>' command. 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 #00a2e8>all_off()</color> with the command '<color #00a2e8>all_off()</color>' command.
 +\\ 
 +\\ 
 +Here is the sequence running.
 +\\ 
 +\\ 
 +{{ :traffic-light-array.mp4?640x360 |}}
 \\  \\ 
 \\  \\ 
 ---- ----
  
traffic_light_leds_using_array.1781731668.txt.gz · Last modified: by walkeradmin