chill wrote: > 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.
I installed pcp5 and everything is working perfectly, thank you Paul! Chill, could you provide me the script to call sbpd and pigpiod etc. at the startup. That would be awesome! And how to call it from the tweaks page. Thank you! ------------------------------------------------------------------------ Jursi's Profile: http://forums.slimdevices.com/member.php?userid=69100 View this thread: http://forums.slimdevices.com/showthread.php?t=107001 _______________________________________________ diy mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/diy
