jeudi 1 septembre 2016

Audio Port to Detect Contact Closure

I need to detect the contacts of a hardware push-button, using the audio port.

I plan to use a LOOP-BACK Circuit where the push-button contacts make/break the connection to the mic input.

The idea is that when looking for a push-button closure I would output an audio signal and detect if the signal was being looped-back to the mic. If present, the contact would be closed.

What is the easiest way to achieve this in B4A?...

Audio Port to Detect Contact Closure

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2bUNNrb
via IFTTT

Aucun commentaire:

Enregistrer un commentaire