RPi 05 - Detect Input Using Interrupts

Поділитися
Вставка
  • Опубліковано 8 січ 2025

КОМЕНТАРІ •

  • @darwinvinci7744
    @darwinvinci7744 5 років тому +3

    This is very helpful. Thank you!!

  • @The2Coolest2
    @The2Coolest2 4 роки тому +2

    Very good. Going to use that desentive method as well for my use.

    • @tsbrownie
      @tsbrownie  4 роки тому +2

      I like your rain / snow vids.

    • @The2Coolest2
      @The2Coolest2 4 роки тому +1

      @@tsbrownie Thanks.
      Related to the video, unfortunately it seems the Blynk IoT app decided they should rewrite the GPIO interface, so it makes it incompatible with the GPIO library. -.-

  • @andrealvs
    @andrealvs 4 роки тому +2

    Awesome video, clear and informative!
    One quick question: how is it that your callback is executed upon turning off the diode when you set the event trigger to detect GPIO.RISING only?

    • @tsbrownie
      @tsbrownie  4 роки тому +1

      I'm not sure I understand your question. The digital signal goes up, then flat, then down. You can trigger on up, or down, or both. I chose "up", rising. Both would give me 2 triggers per event. Down should also work.

    • @andrealvs
      @andrealvs 4 роки тому

      @@tsbrownie oh I was under the impression that the voltage on the pin would remain at high for as long as the emitter was on