Re: [SlimDevices: DIY] [ANNOUNCE] SqueezeButtonPi - Tool to use buttons and rotary encoders on a RPi
paul- wrote: > Check the optional mode setting for encoders. > > > Code: > > > For rotary encoders (one, volume only): > e,pin1,pin2,CMD[,edge] > "e" for "Encoder" > p1, p2: GPIO PIN numbers in BCM-notation > CMD: Command. one of. \n\ > VOLU for Volume\n\ > TRAC for Prev/Next track\n\ > KEY:- > mode: Optional. one of\n\ > 1 - Step mode (default)\n\ > 2-9 - Detent mode - Assumes 1 dial click is x steps. > > > It works after changing dent mode setting from 2 to 4. Thank you. blackbird's Profile: http://forums.slimdevices.com/member.php?userid=70562 View this thread: http://forums.slimdevices.com/showthread.php?t=107001 ___ diy mailing list diy@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/diy
Re: [SlimDevices: DIY] [ANNOUNCE] SqueezeButtonPi - Tool to use buttons and rotary encoders on a RPi
Check the optional mode setting for encoders. Code: For rotary encoders (one, volume only): e,pin1,pin2,CMD[,edge] "e" for "Encoder" p1, p2: GPIO PIN numbers in BCM-notation CMD: Command. one of. \n\ VOLU for Volume\n\ TRAC for Prev/Next track\n\ KEY:- mode: Optional. one of\n\ 1 - Step mode (default)\n\ 2-9 - Detent mode - Assumes 1 dial click is x steps. piCorePlayer a small player for the Raspberry Pi in RAM. Homepage: https://www.picoreplayer.org Please 'donate' (https://www.paypal.com/cgi-bin/webscr?cmd=_donations=U7JHY5WYHCNRU=GB_code=USD=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted) if you like the piCorePlayer paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858 View this thread: http://forums.slimdevices.com/showthread.php?t=107001 ___ diy mailing list diy@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/diy
Re: [SlimDevices: DIY] [ANNOUNCE] SqueezeButtonPi - Tool to use buttons and rotary encoders on a RPi
MY CONFIGURATION: RPi 2B PCP 6.1.0 pcp-sbpd jivelite (Waveshare 3.5") /home/tc/sbpd-script.sh = #!/bin/sh # start pigpiod daemon pigpiod # give the daemon a moment to start up before issuing the sbpd command sleep 1 # load uinput module, then set the permission to group writable, so you don't need to run sbpd with root permissions sudo modprobe uinput sudo chmod g+w /dev/uinput # issue the sbpd command sbpd e,6,12,KEY:KEY_UP-KEY_DOWN,2 b,5,KEY:KEY_RIGHT,2,0,KEY:KEY_LEFT,500 == 31336 Rotary encoder working...key up and down, and button also working. BUT. when key up, down..jump 2 step down or up. I have to rotate very slowly to move 1 step. :( Does any options are available to fix this problem ? +---+ |Filename: rotary.jpg | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=31336| +---+ blackbird's Profile: http://forums.slimdevices.com/member.php?userid=70562 View this thread: http://forums.slimdevices.com/showthread.php?t=107001 ___ diy mailing list diy@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/diy