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
[email protected]
http://lists.slimdevices.com/mailman/listinfo/diy

Reply via email to