Raspberry Pi - Control GPIO Pins with GPIOzero Library

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 มิ.ย. 2020
  • Find code and diagrams at: www.EliTheComputerGuy.com
    The GPIOzero Python Package allows you to control and read from the GPIO Pins on your Raspberry Pi. GPIOzero is included in the Raspberry Pi Operating System, and can be installed on other distros.
    GPIOzero - gpiozero.readthedocs.io/en/st...
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 10

  • @bryan92252
    @bryan92252 3 ปีที่แล้ว +1

    Having the educational videos in front of the paywall is awesome! Thank you!

  • @SecurityCraftsman
    @SecurityCraftsman 3 ปีที่แล้ว

    Thanks Eli, this was great. As a Raspberri Pi/Linux/Programming newbie, the big area struggle is with the scripts. This sounds stupid, but the python kind of makes sense. However, how and where you run the script was my hang up. Now I just need to learn more on how to run the script, how to know if I'm running it, etc... Thanks again and keep up the great work.

  • @philip8753
    @philip8753 2 ปีที่แล้ว +1

    i like the pi because of the hats u can put on them i use a mmdvm hat on the gpio so my pi become a a gateway ap for my dmr radio to talk around the wrold

  • @hermanpieters2325
    @hermanpieters2325 2 ปีที่แล้ว

    Good stuff

  • @washingtonmedia6684
    @washingtonmedia6684 4 ปีที่แล้ว

    You are a very Great Teacher.
    Next video idea : Please do on How to Make an App (application for android)

  • @michaelmurray214
    @michaelmurray214 3 ปีที่แล้ว

    Does anyone know where I can talk to people knowledgeable on arduino and raspberry pi. Im just getting started and i want to know which one will be best for what I want to accomplish?? I dont want to start learning one and then end up finding out it wont do what I need or the other one would have been much easier.

  • @vampire961
    @vampire961 2 ปีที่แล้ว

    Please tell me, Which raspberry pi model is this ?

  • @pixelrangerstudio86
    @pixelrangerstudio86 3 ปีที่แล้ว

    guys i have this code:
    led1 = LED(21)
    led2 = LED(6)
    a = led1.value
    b = led2.value
    print a
    print b
    # leds = LEDBoard(21, 20, 16, 12, 26, 19, 13, 6)
    if a == b:
    LED(21).on()
    a = led1.value + 10
    print "printed value of LED1 is:", a
    else:
    LED(6).on()
    b = led2.value
    print "printed value of LED2 is:", b - 10
    pause()
    I always get the right print message, BUT always the wrong LED lights up. the other way around, why is that.. pls help!

  • @Alpha_fitz
    @Alpha_fitz 2 ปีที่แล้ว

    And connecting to the wrong pin can kill the pi.

  • @tarekmadouni5733
    @tarekmadouni5733 4 ปีที่แล้ว +1

    your angry videos are gone from your collection , I did not find them , I have enjoy them back then