GPIO Tutorial for Pi Part 2 - Programming the GPIO

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

the most underrated channel, thanks for your tutorials great work

rishikeshkulkarni
Автор

To get rid of that warning, at the end of your script you can put "gpio.cleanup ()". This will revert all the pins to their normal state. That warning occurs when you address a pin that has been previously addressed (so to speak). Its difficult to put it in a while True type loop as that command will basically resets all the configurations.

The other setmode type is "gpio.setmode (gpio.BOARD)".

Sabre
Автор

gpio.setmode(gpio.BOARD) is the command for using the Raspberry Pi board pin nummering scheme instead of the BCM (Broadcom processor native GPIO pin number scheme).

randmorf
Автор

I might be mistaken, but I'm pretty sure when you send a "HIGH" signal through a pin, it will be whatever the full voltage supplied to that pin would be.

keithbrewer
Автор

nice video, how can i make a relay stay on for 0.003 ON and off 0.009 sec then do another 4 relays same way and loop ?

EnergySeeker
welcome to shbcf.ru