3 digit binary countdown with LEDs, Raspberry Pi & Python 3

Pubblicato il: 09 maggio 2022
sul canale di: gk
27
0

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


In questa pagina del sito puoi guardare il video online 3 digit binary countdown with LEDs, Raspberry Pi & Python 3 della durata di ore minuti seconda in buona qualità , che l'utente ha caricato gk 09 maggio 2022, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 27 volte e gli è piaciuto 0 spettatori. Buona visione!