Jursi wrote: 
> Amazing news,
> 
> Could you explain me how to install sbpd from your link and how to setup
> pigpio library.
> 
> Thank you!

Install pigpio.tcz from the piCorePlayer repository, then make sure the
daemon is running: just type pigpiod from the command line of an SSH
terminal.

Then issue the two commands that Paul specified:

Code:
--------------------
    sudo modprobe uinput
  sudo chmod g+w /dev/uinput
--------------------


Then download the sbpd binary from Paul's dropbox link, and put it in
the home directory of user tc: /home/tc
Make sure it's executable: I changed the permissions to 755 from within
Filezilla

Finally, issue the ./sbpd command, with gpio pin assignments to match
your encoder's connections to the RPi pins.

For testing purposes I did all this from an SSH command line, but for
normal use I would put it in a script file which I'd call at startup
using pCP's 'User commands' tweak.  If you go that route, note that
pigpiod seems to need a moment to start up before you can issue the sbpd
command - I inserted a 'sleep 1' into my script immediately after the
pigpiod command.


------------------------------------------------------------------------
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