The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Problem: Using GPIO to Pause/Play
#1
Hello together,

i am testing an rotary encoder with an rpi which works fine so far for volume. It has a lot of bounce, but i did not dig into that for now, will do that.
What i am trying to do is to use the push button of the rotary encoder, to pause / play and not only "mute".

I found that there is a gpio handler with some command options and i did find how to vol up and down and mute via the vol.sh, but i could not figure out how to pause a playback with the button.

Could anyone help me, what need to get in the command field to actually pause a playback ?

Thank you very much,

best regards,

xaszy
Reply


Messages In This Thread
Using GPIO to Pause/Play - by xaszy - 12-12-2022, 05:17 PM
RE: Using GPIO to Pause/Play - by TheOldPresbyope - 12-12-2022, 05:50 PM
RE: Using GPIO to Pause/Play - by xaszy - 12-13-2022, 04:17 PM
RE: Using GPIO to Pause/Play - by Tim Curtis - 12-13-2022, 04:35 PM
RE: Using GPIO to Pause/Play - by xaszy - 12-13-2022, 10:27 PM
RE: Using GPIO to Pause/Play - by Tim Curtis - 12-14-2022, 01:30 AM

Forum Jump: