0

start playback with either of 2 switches – how to ignore them once playing?

Newbie I'm afraid. 

a video installation should start once someone picks up either of 2 or more audio handsets (reed switch → GPIO).

Once playback is started, the second (or: other) audio handsets' GPIO signal should be simply ignored. How can I best do this?

1 comment

  • 0
    Avatar
    n feehan

    Reed switches usually have one "NO" and one "NC" pin. If you use the "NC" (normally closed) pin to make your circuit and you are using the weight of several headsets to hold each switch open, you can simply wire all the switches in parallel - this way, as soon as one switch closes the GPIO won't care if additional switches open.

     

Please sign in to leave a comment.