I do not see how you can use the jack you have to provide 5vlennie wrote:do i have to rethink the whole scetch?
through to the headphone.
Luckily, you may not need the 5V. If you are trying to
generate an interrupt when the headphones are not plugged
in, then it may work to connect the interrupt to pin 3 or 4.
When the headphone is plugged-in, pins 3 & 4 are disconnected.
Use a pull-down resistor to hold the interrupt pin 'off'.
When the headphone is not plugged-in, then pin 3 will be
connected to pin 2 (right or left channel, does not matter).
The signal from the WaveShield should trigger the interrupt.
Does that sound like what you need?
Starting the WaveShield again is a different issue.
John