I'm using an external device (mp3 player ...) that has buttons
These buttons are active at low
They have 2 modes : short press + long press (> 2 seconds)
I'm trying to simulate button press with arduino.
No problem for short press, with 'digitalwrite(pin, LOW) during 20 ms before digitalwrite(pin, HIGH)
But, long press doesn't work, whatever is the duration ...
Any idea or suggestion ?
thanks in advance
PS : i looked the forum, but "long press" or "button" seems to be for arduino input, not output to external device.
No problem for short press, with 'digitalwrite(pin, LOW) during 20 ms before digitalwrite(pin, HIGH)
But, long press doesn't work, whatever is the duration ...
Are you saying that the following is received by the player as a short press