This works perfectly with my encoder:

Code:
--------------------
    ./sbpd -v e,20,21,KEY:KEY_UP-KEY_DOWN,2  
b,26,KEY:KEY_RIGHT,2,0,KEY:KEY_LEFT,500
--------------------


I had to adjust the 'Detente Mode' setting to 2, so that each click
moves the cursor one position up or down, but after that it's perfect. 
Push the encoder to select the current row, long push it to back out -
completely intuitive.

With the above command I have the following connections on my encoder:
SW to GPIO26 (physical pin 37)
DT to GPIO20 (physical pin 38)
CLK to GPIO21 (physical pin 30)
+ to 3V3 (physical pin 1)
GND to Ground (physical pin 6)


------------------------------------------------------------------------
chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
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