Raspberry Pi Basics GPIO Programs | Blinking LED Python Code | raspberry config gpio python

Publicado em: 25 Junho 2015
no canal de: local guy
11,061
42

Raspberry Pi Basics GPIO Programs | Blinking LED Python Code | raspberry config gpio python.In this tutorial i m gonna show you Raspberry Pi 2 Blinking LED Program Python GPIO. Raspberry pi is the best thing to learn coding/programming.anybody can use it and start learning programming.it's fun.everyone should learn programming/coding its teaches you how to think.

Below is the code for the Program :-

import GPIO.RPi as GPIO
import time
GPIO.setmode(GPIO.BCM)
GPIO.setwarnings(False)
led1=27
led2=10
GPIO.setup(led1,GPIO.OUT)
GPIO.setup(led2,GPIO.OUT)

while True:
GPIO.output(led1,1)
GPIO.output(led1,0)
print('LED ON')
time.sleep(2)
GPIO.output(led1,1)
GPIO.output(led1,0)
print('LED ON')
time.sleep(2)

thanks for watching Rasberry Pi 2 Simple Led ON OFF Program Python Demo

Raspberry Pi 2 First Time Setup OS Install
   • Raspberry Config Pi Noobs | Setup Raspberr...  

Raspberry Pi Program simple Blinking LED Written in Python
   • Raspberry Pi Basics GPIO Programs | Blinki...  

Raspberry Pi Remote Desktop Xrdp
   • Raspberry Config Remote Desktop Xrdp | Ras...  

Raspberry Pi 2 | PIR Motion Sensor + Push Notification on Android iPhone
   • Raspberry Pi Config | PIR Motion Sensor + ...  


like comment share subscribe
to my channel " Local Guy "

  / localguy5  
  / localguy05  

PS :- if you have any queries,suggestions or found any error /mistake regarding tutorial please notice me in the comment section.i will answer all your questions / queries.
Thanks.

Local Guy
A YouTube Channel for Technology,Internet,IT,Software,Programming,Developer,Linux,Networking,Computer,Android,Iphone,iOS,IT Analyst,Data Analyst

Raspberry pi iot internet of things


Nesta página do site você pode assistir ao vídeo on-line Raspberry Pi Basics GPIO Programs | Blinking LED Python Code | raspberry config gpio python duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário local guy 25 Junho 2015, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 11,061 vezes e gostou 42 espectadores. Boa visualização!