How to write a program using the Raspberry Pi in Python. A very simple example of using the GPIO expansion pins to blink an LED. Practical tips for installing the Raspbian operating system and programming the Raspberry Pi for use in our projects.
Raspbian: https://www.raspberrypi.org/downloads...
Rufus: https://rufus.akeo.ie/?locale
------------Source----------------------------
#LED test
import RPi.GPIO as GPIO
import Time
GPIO.setmode(GPIO.BCM)
GPIO.setwarnings(False)
GPIO.setup(4, GPIO.OUT)
While True
GPIO.output(4, GPIO.HIGH)
Time.sleep(1)
GPIO.output(4, GPIO.LOW)
Time.sleep(1)
--------------------------------------------------------
Follow me also on:
FaceBook - / claudiomcgyver
Instagram - / inewtron
Sur cette page du site, vous pouvez voir la vidéo en ligne Let's program the Raspberry with Python durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur INewtron 02 octobre 2018, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 39,106 fois et il a aimé 828 téléspectateurs. Bon visionnage!