Code: https://github.com/cadadr/electrohack...
Circuit: 3 LEDs, positive ends connected to pins 18, 15, 14; negative ends connected to ground thru 470ohm resistors.
My first breadboard project with RPi after getting an individual LED to blink.
I've used a bit of an overkill of a jumper setup to make it "neater", for some definition of "neat".
What happens in video: First, a bit of silliness as we set all output pins to low: LEDs blink one after anoter, then they blink twice synchronously. Then an infinite countdown loop starts, which counts from 7 down to 0 in binary and restarts, each LED representing one digit.
Items:
4 female to male jumpers (3 GPIO 1 Ground)
3 male to male jumpers (optional)
3 solid core jumpers (optional)
3 470ohm resistors
3 LEDs
Breadboard
Raspberry Pi 3 v1.2
En esta página del sitio puede ver el video en línea 3 digit binary countdown with LEDs, Raspberry Pi & Python 3 de Duración hora minuto segunda en buena calidad , que subió el usuario gk 09 mayo 2022, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 27 veces y le gustó 0 a los espectadores. Disfruta viendo!