Raspberry Pi GPIO Programming with Python - Part 1: Introduction & Controlling LEDs

preview_player
Показать описание
Hello Everyone! In this tutorial, I'll try to show you the basics of GPIO programming in Raspberry pi using Python programming language. By using the gpiozero library, we'll be blinking LEDs and then by using PWM (Pulse Width Modulation) we'll change their brightness.
For detailed information about gpiozero interface you can go and check the website:
I hope you enjoy the video. Please use comments if you need support or additional information.
Thank you!
Рекомендации по теме
Комментарии
Автор

Thank you for the tutorials. It's great to have these examples.

buckster
Автор

Clearly introduced, thank you. Would have been (maybe) useful to tell about the default values in case of blink, etc.
Otherwise it's difficult to guess why the led is blinking at that rate :)

emddom
Автор

Super helpful, thanks so much for this!

chadzulu
Автор

Do you have line follow code with python sir?

atduong
Автор

why do we need to add a resistor to the circuit and how to determine the correct resister to use (ohm value)?

techcafe
Автор

from gpiozero import LED
from signal import pause

red = LED(17)

red.blink()

pause()



from gpiozero import LED
from time import sleep

led = LED(17)
while True:
led.on()
sleep(0.5)
led.off()
sleep(0.5)


kvelez
Автор

DOESNT WORK Python_examples doesnt exist

resinds.p
Автор

30 seconds in & my noob ass is totally lost already.

Was this necessary if he's already hooked his pi up to his home network?

Why is he using that app to perform commands?

ClickClack_Bam