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:<Positive key_name>-<Negative key_name>
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&business=U7JHY5WYHCNRU&lc=GB¤cy_code=USD&bn=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
[email protected]
http://lists.slimdevices.com/mailman/listinfo/diy