Hello,
I need to read an external pushbutton through the headphone jack. I know that headphones have a mechanical switch that short-circuits one of the headphone plug terminals (rings or tip) to electrical ground.
But I did not find how to read this. Better if it raises an event.
Any help will be welcomed!
I need to read an external pushbutton through the headphone jack. I know that headphones have a mechanical switch that short-circuits one of the headphone plug terminals (rings or tip) to electrical ground.
But I did not find how to read this. Better if it raises an event.
Any help will be welcomed!